mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-31 12:10:51 -04:00
Preliminary work to cut over to Kohana 2.4
- Kohana::log() -> Kohana_Log::add() - Kohana::config_XXX -> Kohana_Config::instance()->XXX - Implement View::set_global in MY_View - Updated Cache_Database_Driver to latest APIs - ORM::$loaded -> ORM::loaded() - Updated item::viewable() to use K2.4 parenthesization
This commit is contained in:
@@ -171,7 +171,7 @@ class graphics_Core {
|
||||
} catch (Exception $e) {
|
||||
// Something went wrong rebuilding the image. Leave it dirty and move on.
|
||||
// @todo we should handle this better.
|
||||
Kohana::log("error", "Caught exception rebuilding image: {$item->title}\n" .
|
||||
Kohana_Log::add("error", "Caught exception rebuilding image: {$item->title}\n" .
|
||||
$e->getMessage() . "\n" . $e->getTraceAsString());
|
||||
throw $e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user