fix PHP Fatal when opening filemanager settings

This commit is contained in:
Ralf Becker 2016-06-29 13:37:39 +02:00
parent c68da72207
commit ab7b4d40f9

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')