X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fapiprivateauth.php;h=df401c382e9b54806e39f1341c698404d35e44b4;hb=69e621a3e882cd060eb4314554aada7167edd897;hp=5d0033005301713f17ca8c678ed8aa15ac67e7e6;hpb=4b98edf75f4e255f8c61087bd1525d89653a521f;p=quix0rs-gnu-social.git diff --git a/lib/apiprivateauth.php b/lib/apiprivateauth.php index 5d00330053..df401c382e 100644 --- a/lib/apiprivateauth.php +++ b/lib/apiprivateauth.php @@ -29,8 +29,9 @@ * @author Evan Prodromou * @author mEDI * @author Sarven Capadisli - * @author Zach Copley + * @author Zach Copley * @copyright 2009 StatusNet, Inc. + * @copyright 2009 Free Software Foundation, Inc http://www.fsf.org * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ @@ -57,26 +58,21 @@ require_once INSTALLDIR.'/lib/apiauth.php'; * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ - class ApiPrivateAuthAction extends ApiAuthAction { - /** * Does this API resource require authentication? * * @return boolean true or false */ - function requiresAuth() { // If the site is "private", all API methods except statusnet/config // need authentication - if (common_config('site', 'private')) { return true; } return false; } - }