diff options
Diffstat (limited to 'core/controllers')
-rw-r--r-- | core/controllers/move.php | 2 | ||||
-rw-r--r-- | core/controllers/quick.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/controllers/move.php b/core/controllers/move.php index 19e4bfe2..94e9df7c 100644 --- a/core/controllers/move.php +++ b/core/controllers/move.php @@ -33,7 +33,7 @@ class Move_Controller extends Controller { $source = ORM::factory("item", $source_id); $target = ORM::factory("item", $this->input->post("target_id")); - core::move_item($source, $target); + item::move($source, $target); print json_encode( array("result" => "success", diff --git a/core/controllers/quick.php b/core/controllers/quick.php index 0f1a3244..9382786e 100644 --- a/core/controllers/quick.php +++ b/core/controllers/quick.php @@ -82,7 +82,7 @@ class Quick_Controller extends Controller { public function make_album_cover($id) { access::verify_csrf(); - core::make_album_cover(ORM::factory("item", $id)); + item::make_album_cover(ORM::factory("item", $id)); print json_encode(array("result" => "success")); } |