Skip to content

Commit

Permalink
moving method print_debug to wiki_functions.inc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
FlominatorTM committed Apr 6, 2016
1 parent d1cd95e commit 09f21c5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
8 changes: 0 additions & 8 deletions foto_check.php
Expand Up @@ -75,12 +75,4 @@
echo ' - <a href="?purge=' . $oneOfferPage->server . '">' .$I18N->msg( 'purge_cache') . '</a>';
}

function print_debug($str)
{
global $is_debug;
if(isset($is_debug) && $is_debug)
{
echo $str."\n";
}
}
?>
9 changes: 0 additions & 9 deletions foto_range.php
Expand Up @@ -50,15 +50,6 @@
echo '<a href="foto_check.php">'. $I18N->msg( 'check_users') . '</a>';
echo ' - by <a href="http://de.wikipedia.org/wiki/Benutzer:Flominator">Flominator</a>';
echo $I18N->getFooterLine( TSINT_HELP_ALL );

function print_debug($str)
{
global $is_debug;
if(isset($is_debug) && $is_debug)
{
echo $str."\n";
}
}

function log_search ()
{
Expand Down

0 comments on commit 09f21c5

Please sign in to comment.