]> git.mxchange.org Git - friendica.git/blobdiff - mod/photos.php
Log the execution time
[friendica.git] / mod / photos.php
index ce6d11340e8d114380455209d220b9eae43e73dd..fa8a434c44a14382e0eaebca3344298145abdc6f 100644 (file)
@@ -158,6 +158,7 @@ function photos_post(App $a)
 
        if (!$can_post) {
                notice(DI::l10n()->t('Permission denied.'));
+               DI::page()->logRuntime();
                exit();
        }
 
@@ -166,6 +167,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);
+               DI::page()->logRuntime();
                exit();
        }