]> git.mxchange.org Git - friendica.git/commitdiff
fixed parser error
authorRoland Häder <roland@mxchange.org>
Sun, 16 Jul 2017 18:35:42 +0000 (20:35 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 14 May 2018 20:49:58 +0000 (22:49 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
include/security.php

index 70896992d94b4abfa24b4c79bfc9da1cf94ba76f..5d563f3246e54e3abb2bdb1f06e8df3fb88ab001 100644 (file)
@@ -275,6 +275,13 @@ function permissions_sql($owner_id, $remote_verified = false, $groups = null)
         */
        if ($local_user && $local_user == $owner_id) {
                $sql = '';
+       /**
+        * Authenticated visitor. Unless pre-verified,
+        * check that the contact belongs to this $owner_id
+        * and load the groups the visitor belongs to.
+        * If pre-verified, the caller is expected to have already
+        * done this and passed the groups into this function.
+        */
        } elseif ($remote_user) {
                /*
                 * Authenticated visitor. Unless pre-verified,