Permalink
Browse files

No need to reverse the parents array

  • Loading branch information...
1 parent 3ebb358 commit d656b469fde72b1ac44c2faa99da9cc1a493b7db @kolber committed Apr 4, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 app/page-data.inc.php
@@ -42,8 +42,6 @@ static function get_parents($file_path, $url) {
array_pop($split_path);
$parents[] = implode('/', $split_path);
}
- # reverse array to emulate anchestor structure
- $parents = array_reverse($parents);
return (count($parents) < 1) ? array() : $parents;
}

0 comments on commit d656b46

Please sign in to comment.