Skip to content

Commit

Permalink
even more
Browse files Browse the repository at this point in the history
  • Loading branch information
quickapps authored and lorenzo committed Mar 29, 2014
1 parent f7aec37 commit f5f5450
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Model/Behavior/TreeBehavior.php
Expand Up @@ -151,8 +151,7 @@ public function findChildren($query, $options) {
* @return boolean true on success, false on failure
*/
public function moveUp($id, $number = 1) {
$config = $this->config();
extract($config);
extract($this->config());

if (!$number) {
return false;
Expand Down Expand Up @@ -203,8 +202,7 @@ public function moveUp($id, $number = 1) {
* @return boolean true on success, false on failure
*/
public function moveDown($id, $number = 1) {
$config = $this->config();
extract($config);
extract($this->config());

if (!$number) {
return false;
Expand Down

0 comments on commit f5f5450

Please sign in to comment.