X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fprofile_photo.php;h=d8e236a73787fc476df68fb993adeec1fa8cadfc;hb=3fc5c1ad840f98926319478a855dab3686a0ace3;hp=3304e3cab2c44762e2e8f72d737ee9a1bf8d5641;hpb=8821d33f73785884cfce83e7b23d3ef19cc1bc11;p=friendica.git diff --git a/mod/profile_photo.php b/mod/profile_photo.php index 3304e3cab2..d8e236a737 100644 --- a/mod/profile_photo.php +++ b/mod/profile_photo.php @@ -16,6 +16,7 @@ use Friendica\Model\Photo; use Friendica\Model\Profile; use Friendica\Object\Image; use Friendica\Util\Security; +use Friendica\Util\Strings; function profile_photo_init(App $a) { @@ -151,7 +152,7 @@ function profile_photo_post(App $a) $maximagesize = Config::get('system', 'maximagesize'); if (($maximagesize) && ($filesize > $maximagesize)) { - notice(L10n::t('Image exceeds size limit of %s', formatBytes($maximagesize)) . EOL); + notice(L10n::t('Image exceeds size limit of %s', Strings::formatBytes($maximagesize)) . EOL); @unlink($src); return; }