diff options
Diffstat (limited to 'core/models')
-rw-r--r-- | core/models/item.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/models/item.php b/core/models/item.php index f1a979ee..bb0adc5a 100644 --- a/core/models/item.php +++ b/core/models/item.php @@ -59,14 +59,14 @@ class Item_Model extends ORM_MPTT { * @param Item_Model $target Target item (must be an album * @return ORM_MTPP */ - function moveTo($target) { + function move_to($target) { $this->lock(); try { $original_path = $this->file_path(); $original_resize_path = $this->resize_path(); $original_thumbnail_path = $this->thumbnail_path(); - parent::moveTo($target, true); + parent::move_to($target, true); rename($original_path, $this->file_path()); if (file_exists($original_resize_path)) { |