fix PHP Fatal when opening filemanager settings

This commit is contained in:
Ralf Becker 2016-06-29 13:37:39 +02:00
parent 7f3038f07e
commit 407b405c36

View File

@ -120,9 +120,6 @@ class filemanager_hooks
*/
static function settings()
{
$config = Api\Config::read(self::$appname);
if (!empty($config['max_folderlinks'])) self::$foldercount = (int)$config['max_folderlinks'];
$yes_no = array(
'no' => lang('No'),
'yes' => lang('Yes')