From: Thomas Mueller Date: Tue, 11 Dec 2012 13:07:01 +0000 (+0100) Subject: ctor of OC_L10N requires the app name X-Git-Tag: v5.0.0alpha1~347^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e427197dce2e8e43000e806ca4b13bfbb841436a;p=nextcloud-server.git ctor of OC_L10N requires the app name --- diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index e37b610000a..c0864dc50d2 100755 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -429,7 +429,7 @@ class OC_Mount_Config { * check dependencies */ public static function checkDependencies() { - $l= new OC_L10N; + $l= new OC_L10N('files_external'); $txt=''; if(!OC_Mount_Config::checksmbclient()) $txt.=$l->t('Warning: "smbclient" is not installed. Mounting of CIFS/SMB shares is not possible. Please ask your system administrator to install it.').'
'; if(!OC_Mount_Config::checkphpftp()) $txt.=$l->t('Warning: The FTP support in PHP is not enabled or installed. Mounting of FTP shares is not possible. Please ask your system administrator to install it.').'
';