summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 564eb0285..70514316c 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -320,9 +320,7 @@ function auth_logoff($keepbc=false){
setcookie(DOKU_COOKIE,'',time()-600000,DOKU_REL,'',($conf['securecookie'] && is_ssl()));
}
- if($auth && $auth->canDo('logoff')){
- $auth->logOff();
- }
+ if($auth) $auth->logOff();
}
/**