Skip to content

Commit

Permalink
Use plugin.info.txt information in getInfo()
Browse files Browse the repository at this point in the history
There is still a getInfo()-function as it provides a localized
description text.
  • Loading branch information
michitux committed Dec 29, 2012
1 parent 45ec917 commit ab183b6
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,9 @@ function admin_plugin_pagemove(){
* return some info
*/
function getInfo(){
return array(
'author' => 'Gary Owen, Arno Puschmann, Christoph Jähnigen',
'email' => '[email protected]',
'date' => '2011-08-11',
'name' => 'Pagemove',
'desc' => $this->lang['desc'],
'url' => 'http://www.dokuwiki.org/plugin:pagemove',
);
$result = parent::getInfo();
$result['desc'] = $this->getLang('desc');
return $result;
}

/**
Expand Down

0 comments on commit ab183b6

Please sign in to comment.