]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
Change plugin to addon
[friendica.git] / include / api.php
index 7011f613d62a49a1cba4e17ec56340eabb57746a..15ec2db12c99ecc71a81c29a958b22f3574fe625 100644 (file)
@@ -213,10 +213,10 @@ function api_login(App $a)
        ];
 
        /*
-               * A plugin indicates successful login by setting 'authenticated' to non-zero value and returning a user record
-               * Plugins should never set 'authenticated' except to indicate success - as hooks may be chained
-               * and later plugins should not interfere with an earlier one that succeeded.
-               */
+       * An addon indicates successful login by setting 'authenticated' to non-zero value and returning a user record
+       * Addons should never set 'authenticated' except to indicate success - as hooks may be chained
+       * and later addons should not interfere with an earlier one that succeeded.
+       */
        Addon::callHooks('authenticate', $addon_auth);
 
        if ($addon_auth['authenticated'] && count($addon_auth['user_record'])) {