X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fphotos.php;h=52d749bb46f841f3f37e93fc91d76506ba261dd5;hb=5095ce621ad852676de342d2fef9be3f3f95b2fb;hp=9b69867461a5d0f069be1f19d4dd8a3fb8875954;hpb=a2f1bf6a83cef0b67d060b6a4686e585e5908c42;p=friendica.git diff --git a/mod/photos.php b/mod/photos.php index 9b69867461..52d749bb46 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -1,6 +1,6 @@ t('Permission denied.')); - exit(); + System::exit(); } $owner_record = User::getOwnerDataById($page_owner_uid); @@ -166,7 +166,7 @@ function photos_post(App $a) if (!$owner_record) { notice(DI::l10n()->t('Contact information unavailable')); DI::logger()->info('photos_post: unable to locate contact record for page owner. uid=' . $page_owner_uid); - exit(); + System::exit(); } $aclFormatter = DI::aclFormatter();