@@ -260,12 +260,12 @@ discard block |
||
| 260 | 260 | } |
| 261 | 261 | |
| 262 | 262 | public function getMetadataFull($adapter = "storage_adapter" , $path) |
| 263 | - { |
|
| 264 | - $location = $this->$adapter->applyPathPrefix($path); |
|
| 265 | - $spl_info = new SplFileInfo($location); |
|
| 263 | + { |
|
| 264 | + $location = $this->$adapter->applyPathPrefix($path); |
|
| 265 | + $spl_info = new SplFileInfo($location); |
|
| 266 | 266 | |
| 267 | - return ($spl_info); |
|
| 268 | - } |
|
| 267 | + return ($spl_info); |
|
| 268 | + } |
|
| 269 | 269 | |
| 270 | 270 | |
| 271 | 271 | public function get_backup_archives_list() |
@@ -629,27 +629,27 @@ discard block |
||
| 629 | 629 | |
| 630 | 630 | private function array_orderby() |
| 631 | 631 | { |
| 632 | - $args = func_get_args(); |
|
| 633 | - $data = array_shift($args); |
|
| 632 | + $args = func_get_args(); |
|
| 633 | + $data = array_shift($args); |
|
| 634 | 634 | |
| 635 | - foreach ($args as $n => $field) { |
|
| 636 | - if (is_string($field)) { |
|
| 637 | - $tmp = array(); |
|
| 638 | - foreach ($data as $key => $row) |
|
| 639 | - { |
|
| 635 | + foreach ($args as $n => $field) { |
|
| 636 | + if (is_string($field)) { |
|
| 637 | + $tmp = array(); |
|
| 638 | + foreach ($data as $key => $row) |
|
| 639 | + { |
|
| 640 | 640 | if(is_array($row)) |
| 641 | 641 | $tmp[$key] = $row[$field]; |
| 642 | 642 | else |
| 643 | 643 | $tmp[$key] = $row->$field; |
| 644 | 644 | } |
| 645 | - $args[$n] = $tmp; |
|
| 646 | - } |
|
| 647 | - } |
|
| 648 | - $args[] = &$data; |
|
| 645 | + $args[$n] = $tmp; |
|
| 646 | + } |
|
| 647 | + } |
|
| 648 | + $args[] = &$data; |
|
| 649 | 649 | |
| 650 | - call_user_func_array('array_multisort', $args); |
|
| 650 | + call_user_func_array('array_multisort', $args); |
|
| 651 | 651 | |
| 652 | - return array_pop($args); |
|
| 652 | + return array_pop($args); |
|
| 653 | 653 | } |
| 654 | 654 | |
| 655 | 655 | public function is_excluded($file) |