Disable access to the administrator plugin when plugin is disabled in config.
[squirrelmail.git] / functions / plugin.php
index 04d7e89da023cf6b57ea28f32c3495b74c9f9afe..ecd169735b1ed7fd01ddde98429a211fb6712f43 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * plugin.php
  *
- * Copyright (c) 1999-2004 The SquirrelMail Project Team
+ * Copyright (c) 1999-2005 The SquirrelMail Project Team
  * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  * This file provides the framework for a plugin architecture.
@@ -184,6 +184,7 @@ function boolean_hook_function($name,$parm=NULL,$priority=0,$tie=false) {
  * FIXME: This function needs to have its name changed!
  *
  * @return bool whether this browser properly supports JavaScript
+ * @deprecated use checkForJavascript() since 1.5.1
  */
 function soupNazi(){
     return !checkForJavascript();
@@ -199,4 +200,4 @@ if (isset($plugins) && is_array($plugins)) {
     }
 }
 
-?>
+?>
\ No newline at end of file