removed mods directory from the ATutor codebase
[atutor.git] / mods / wiki / plugins / edit / requirespassword.php
diff --git a/mods/wiki/plugins/edit/requirespassword.php b/mods/wiki/plugins/edit/requirespassword.php
deleted file mode 100644 (file)
index 1262feb..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-/*
-   This is a very light alternative to powering up the _PROTECTED_MODE.
-   It simply shows up a password dialog when you click on EditThisPage.
-   Either define("EWIKI_ADMIN_PW", "..."), edit "fragments/funcs/auth.php",
-   or add a "$passwords[...]=..." line here.
-*/
-
-#-- you could comment out the first line here, then the password box would
-#   popup first when saving an edited page
-$ewiki_plugins["edit_hook"] =
-$ewiki_plugins["edit_save"] = "ewiki_edit_requires_password";
-
-
-function ewiki_edit_requires_password(&$uu1, &$uu2, &$uu3) {
-
-   #-- just set your password here
-   // with
-   // define("EWIKI_ADMIN_PW", "password");
-   // or
-   // $passwords["username"] = "password";
-
-   require(EWIKI_BASE_DIR."/fragments/funcs/auth.php");
-}
-
-?>
\ No newline at end of file