X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2FPlugin%2FSkel.php;h=f457c5d6ba308d6fd76d6e4d3bada5b177b16e36;hb=16807ba08214124b17b1f14226be12cdd646adc1;hp=0116d107f3ab0063a77bb396b5cf6409dcf53b33;hpb=56aefc1ef7ef2d90499b174648625baa6ccb30b1;p=diogenes.git diff --git a/include/Plugin/Skel.php b/include/Plugin/Skel.php index 0116d10..f457c5d 100644 --- a/include/Plugin/Skel.php +++ b/include/Plugin/Skel.php @@ -23,8 +23,8 @@ require_once 'System.php'; require_once 'Tree/Node.php'; define('PLUG_DISABLED', 0); -define('PLUG_AVAILABLE', 1); -define('PLUG_ACTIVE', 2); +define('PLUG_ACTIVE', 1); +define('PLUG_LOCK', 2); /** Recursive stripslashes. * @@ -61,7 +61,7 @@ class Diogenes_Plugin_Skel { var $pos = 0; /** The plugin status (disabled, available, active) */ - var $status = PLUG_AVAILABLE; + var $status = PLUG_DISABLED; /** Is the plugin allowed with respect to a given write permission on a page ? *