diff options
author | Andreas Gohr <andi@splitbrain.org> | 2009-08-07 11:46:07 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2009-08-07 11:46:07 +0200 |
commit | a8900dc9bb90521364ddb83a687175277ff5fa58 (patch) | |
tree | 09921f580ad1b4a6e57bbc8d29799ac8e32bbb7c /lib/plugins/acl/ajax.php | |
parent | 831be45d6eb73357108a082896ebe060f9b9ad8a (diff) | |
download | rpg-a8900dc9bb90521364ddb83a687175277ff5fa58.tar.gz rpg-a8900dc9bb90521364ddb83a687175277ff5fa58.tar.bz2 |
Show media namespaces in ACL manager
Ignore-this: b46799f7d65081eaa364ecaab8a2c7f9
Namespaces that only exist within the media directory are now merged with the
page namespaces in tree explorer of the namespace manager
darcs-hash:20090807094607-7ad00-3ce30cffc528e7e20a4b19d8f30d1f3725806162.gz
Diffstat (limited to 'lib/plugins/acl/ajax.php')
-rw-r--r-- | lib/plugins/acl/ajax.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/plugins/acl/ajax.php b/lib/plugins/acl/ajax.php index daed03306..54eaa8dc7 100644 --- a/lib/plugins/acl/ajax.php +++ b/lib/plugins/acl/ajax.php @@ -45,8 +45,7 @@ if($ajax == 'info'){ $lvl = count(explode(':',$ns)); $ns = utf8_encodeFN(str_replace(':','/',$ns)); - $data = array(); - search($data,$conf['datadir'],'search_index',array('ns' => $ns),$ns); + $data = $acl->_get_tree($ns,$ns); foreach($data as $item){ $item['level'] = $lvl+1; |