summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-02-17 19:01:57 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-02-17 19:01:57 +0100
commit0e2431b761b5c24b59109867ec74d7647d16131f (patch)
tree8f54bd5e545480bc3192b6500e6abea06e10a52f
parentf23eef27e07dfe76ab76fda68242d44de10e4022 (diff)
downloadrpg-0e2431b761b5c24b59109867ec74d7647d16131f.tar.gz
rpg-0e2431b761b5c24b59109867ec74d7647d16131f.tar.bz2
Improve PHPDocs, rename auth_basic to DokuWiki_Auth_Plugin
-rw-r--r--feed.php2
-rw-r--r--inc/confutils.php3
-rw-r--r--inc/subscription.php4
3 files changed, 5 insertions, 4 deletions
diff --git a/feed.php b/feed.php
index bdce666d2..8f2ac0b4c 100644
--- a/feed.php
+++ b/feed.php
@@ -182,7 +182,7 @@ function rss_parseOptions() {
function rss_buildItems(&$rss, &$data, $opt) {
global $conf;
global $lang;
- /* @var auth_basic $auth */
+ /* @var DokuWiki_Auth_Plugin $auth */
global $auth;
$eventData = array(
diff --git a/inc/confutils.php b/inc/confutils.php
index 0ac003b72..31371d41f 100644
--- a/inc/confutils.php
+++ b/inc/confutils.php
@@ -237,13 +237,14 @@ function getConfigFiles($type) {
* check if the given action was disabled in config
*
* @author Andreas Gohr <andi@splitbrain.org>
+ * @param string $action
* @returns boolean true if enabled, false if disabled
*/
function actionOK($action){
static $disabled = null;
if(is_null($disabled) || defined('SIMPLE_TEST')){
global $conf;
- /** @var auth_basic $auth */
+ /** @var DokuWiki_Auth_Plugin $auth */
global $auth;
// prepare disabled actions array and handle legacy options
diff --git a/inc/subscription.php b/inc/subscription.php
index ddf2f39e6..ddf30706b 100644
--- a/inc/subscription.php
+++ b/inc/subscription.php
@@ -288,7 +288,7 @@ class Subscription {
public function send_bulk($page) {
if(!$this->isenabled()) return 0;
- /** @var auth_basic $auth */
+ /** @var DokuWiki_Auth_Plugin $auth */
global $auth;
global $conf;
global $USERINFO;
@@ -651,7 +651,7 @@ class Subscription {
public function notifyaddresses(&$data) {
if(!$this->isenabled()) return;
- /** @var auth_basic $auth */
+ /** @var DokuWiki_Auth_Plugin $auth */
global $auth;
global $conf;