Skip to content

Commit

Permalink
Merge pull request #215 from dokufreaks/cleanup
Browse files Browse the repository at this point in the history
Removed useless/deprecated code
  • Loading branch information
Klap-in committed Sep 26, 2020
2 parents f84618b + 2346dbc commit 58983ed
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 40 deletions.
5 changes: 0 additions & 5 deletions action.php
Expand Up @@ -4,11 +4,6 @@
* @author Esther Brunner <wikidesign@gmail.com>
*/

// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();

if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');

/**
* Action part of the tag plugin, handles tag display and index updates
*/
Expand Down
6 changes: 0 additions & 6 deletions helper.php
Expand Up @@ -4,12 +4,6 @@
* @author Esther Brunner <wikidesign@gmail.com>
*/

// must be run within Dokuwiki
if (!defined('DOKU_INC')) die();

if (!defined('DOKU_LF')) define('DOKU_LF', "\n");
if (!defined('DOKU_TAB')) define('DOKU_TAB', "\t");

/**
* Helper part of the tag plugin, allows to query and print tags
*/
Expand Down
7 changes: 0 additions & 7 deletions syntax/count.php
Expand Up @@ -9,13 +9,6 @@
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Matthias Schulte <dokuwiki@lupo49.de>
*/

// must be run within Dokuwiki
if (!defined('DOKU_INC')) die();

if (!defined('DOKU_LF')) define('DOKU_LF', "\n");
if (!defined('DOKU_TAB')) define('DOKU_TAB', "\t");
if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');

/** Count syntax, allows to list tag counts */
class syntax_plugin_tag_count extends DokuWiki_Syntax_Plugin {
Expand Down
3 changes: 0 additions & 3 deletions syntax/searchtags.php
Expand Up @@ -7,9 +7,6 @@
* @author Michael Hamann <michael@content-space.de>
*/

// must be run within Dokuwiki
if (!defined('DOKU_INC')) die();

/**
* Tagsearch syntax, displays a tag search form with results similar to the topic syntax
*/
Expand Down
7 changes: 0 additions & 7 deletions syntax/tag.php
Expand Up @@ -9,13 +9,6 @@
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Esther Brunner <wikidesign@gmail.com>
*/

// must be run within Dokuwiki
if (!defined('DOKU_INC')) die();

if (!defined('DOKU_LF')) define('DOKU_LF', "\n");
if (!defined('DOKU_TAB')) define('DOKU_TAB', "\t");
if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');

/**
* Tag syntax plugin, allows to specify tags in a page
Expand Down
7 changes: 0 additions & 7 deletions syntax/tagpage.php
Expand Up @@ -8,13 +8,6 @@
* @author Matthias Schulte <dokuwiki@lupo49.de>
*/

// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();

if(!defined('DOKU_LF')) define('DOKU_LF', "\n");
if(!defined('DOKU_TAB')) define('DOKU_TAB', "\t");
if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN', DOKU_INC.'lib/plugins/');

/** Tagpage syntax, allows to link to a given tag */
class syntax_plugin_tag_tagpage extends DokuWiki_Syntax_Plugin {

Expand Down
5 changes: 0 additions & 5 deletions syntax/topic.php
Expand Up @@ -6,11 +6,6 @@
* @author Esther Brunner <wikidesign@gmail.com>
*/

// must be run within Dokuwiki
if (!defined('DOKU_INC')) die();

if (!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');

/**
* Topic syntax, displays links to all wiki pages with a certain tag
*/
Expand Down

0 comments on commit 58983ed

Please sign in to comment.