diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-30 23:00:51 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-30 23:00:51 +0100 |
commit | d6da0396d02693e35073cfd4ec990a85393a92e5 (patch) | |
tree | b090c93a5303cf1f72ff68e85e3145fd813aca82 /apps/files_external | |
parent | dcbd60351435c9a5ea8d23dff703d449489aa335 (diff) | |
download | nextcloud-server-d6da0396d02693e35073cfd4ec990a85393a92e5.tar.gz nextcloud-server-d6da0396d02693e35073cfd4ec990a85393a92e5.zip |
Adjust patches
Diffstat (limited to 'apps/files_external')
-rw-r--r-- | apps/files_external/lib/config.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/lib/config.php b/apps/files_external/lib/config.php index cd2498eca40..b0b9db123cd 100644 --- a/apps/files_external/lib/config.php +++ b/apps/files_external/lib/config.php @@ -358,16 +358,16 @@ class OC_Mount_Config { * @param \OCP\IL10N $l * @param string $module * @param string $backend - * @return OC_L10N_String + * @return string */ private static function getSingleDependencyMessage(\OCP\IL10N $l, $module, $backend) { switch (strtolower($module)) { case 'curl': - return $l->t('<b>Note:</b> The cURL support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it.', $backend); + return (string)$l->t('<b>Note:</b> The cURL support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it.', $backend); case 'ftp': - return $l->t('<b>Note:</b> The FTP support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it.', $backend); + return (string)$l->t('<b>Note:</b> The FTP support in PHP is not enabled or installed. Mounting of %s is not possible. Please ask your system administrator to install it.', $backend); default: - return $l->t('<b>Note:</b> "%s" is not installed. Mounting of %s is not possible. Please ask your system administrator to install it.', array($module, $backend)); + return (string)$l->t('<b>Note:</b> "%s" is not installed. Mounting of %s is not possible. Please ask your system administrator to install it.', array($module, $backend)); } } |