summaryrefslogtreecommitdiff
path: root/system/helpers/utf8.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-15 17:18:22 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-15 17:18:22 -0700
commita432a43b3b39fbec70d4cece1eb0ba5625b2679c (patch)
tree051629ff7bff02300502d5a79ca20f6ecfae76f2 /system/helpers/utf8.php
parent48dc07dbc8189eb16f97b7013b0481982286ab2c (diff)
Revert "Change the item rest update processing to call the
item::move(source, target) helper when the parent member has changed. Using the move method insures that names and slugs that could conflict in the target album are resolved properly. Changed the item::move method so it returns a message to be displayed if the caller chooses. And changed the move controller to display the message returned by the move if the item name was renamed as part of the move." Rolling this back for a couple of reasons: 1) Bug in move.php ("message.info" is not a function name) 2) Having the message come back from the API call as a side-effect is sloppy. We should find a cleaner way to do this checking. 3) having item::move() call save() on any changed values in the ORM is counter-intuitive. Move should move, save should save. I think the right approach here is to roll the move() code properly into save(). This reverts commit 2492280cc0ec9eb64a8daeccc7b5698ece7fea66.
Diffstat (limited to 'system/helpers/utf8.php')
0 files changed, 0 insertions, 0 deletions