summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/gallery/libraries/ORM_MPTT.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/ORM_MPTT.php b/modules/gallery/libraries/ORM_MPTT.php
index ba61131a..a7bb24ea 100644
--- a/modules/gallery/libraries/ORM_MPTT.php
+++ b/modules/gallery/libraries/ORM_MPTT.php
@@ -227,7 +227,7 @@ class ORM_MPTT_Core extends ORM {
* @param Item_Model $target Target node
* @return ORM_MTPP
*/
- function move_to($target) {
+ protected function move_to($target) {
if ($this->contains($target)) {
throw new Exception("@todo INVALID_TARGET can't move item inside itself");
}