]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Admin/Features.php
Further unused tables to be dropped
[friendica.git] / src / Module / Admin / Features.php
index 51ba9140ef144a00fe081f02747b19c39c705c11..d3af3ebc0289189a97a9793a40d08e7321475673 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -30,7 +30,7 @@ class Features extends BaseAdmin
 {
        public static function post(array $parameters = [])
        {
-               parent::post($parameters);
+               self::checkAdminAccess();
 
                self::checkFormSecurityTokenRedirectOnError('/admin/features', 'admin_manage_features');