Unreachable logger fixed

This commit is contained in:
4Giedrius committed 2014-12-08 14:09:31 +02:00
1 parent 3ce2612f01
commit 94433bdd75
1 file changed
+1 -1
+1 -1
View File
@@ -269,8 +269,8 @@ class Admin extends \Api_Abstract
if(!$model instanceof \Model_Product || !$model->is_addon) {
throw new \Box_Exception('Addon not found');
}
return $this->update($data);
$this->di['logger']->info('Updated addon #%s', $model->id);
return $this->update($data);
}
/**