Skip to content

Commit

Permalink
Add more PHPDoc comments and remove no longer used variables
Browse files Browse the repository at this point in the history
  • Loading branch information
michitux committed Dec 29, 2012
1 parent 77e946e commit c17ae02
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions admin.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
/**
* Plugin : Pagemove
* Version : 0.10 (2010-06-17)
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Michael Hamann <[email protected]>
* @author Gary Owen,
*/

Expand All @@ -14,28 +14,25 @@
if (!defined('DOKU_TAB')) define('DOKU_TAB', "\t");
if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');

require_once DOKU_PLUGIN.'admin.php';

/**
* Admin component of the pagemove plugin. Provides the user interface.
*/
class admin_plugin_pagemove extends DokuWiki_Admin_Plugin {

var $show_form = true;
var $have_rights = true;
var $locked_files = array();
var $errors = array();
var $opts = array();
var $idsToDelete = array();


/**
* Get the sort number that defines the position in the admin menu.
*
* @return int The sort number
*/
function getMenuSort() { return 1000; }
function forAdminOnly() { return false; }

/**
* function constructor
* If this admin plugin is for admins only
* @return bool false
*/
function admin_plugin_pagemove(){
// enable direct access to language strings
$this->setupLocale();
}
function forAdminOnly() { return false; }

/**
* return some info
Expand Down

0 comments on commit c17ae02

Please sign in to comment.