1
0

Merge branch 'master' into talmdal

This commit is contained in:
Tim Almdal 2010-09-17 17:49:59 -07:00
commit c0a6d62a4e
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ class autorotate_event_Core {
// The assumption is that the exception was logged at a lower level, but we // The assumption is that the exception was logged at a lower level, but we
// don't want to screw up the processing that was generating the notification // don't want to screw up the processing that was generating the notification
// so we don't pass the exception up the call stack // so we don't pass the exception up the call stack
static function add_photos_form_completed($item, $form) { static function item_created($item) {
try { try {
autorotate::rotate_item($item); autorotate::rotate_item($item);
} catch (Exception $e) { } catch (Exception $e) {

View File

@ -19,12 +19,12 @@
*/ */
class autorotate_installer { class autorotate_installer {
static function install() { static function install() {
module::set_version("autorotate", 1); module::set_version("autorotate", 2);
} }
static function upgrade($version) { static function upgrade($version) {
if ($version == 1) { if ($version == 1) {
module::set_version("autorotate", $version = 1); module::set_version("autorotate", $version = 2);
} }
} }