Remove debug statemenets

This commit is contained in:
Starbeamrainbowlabs 2015-10-03 13:28:12 +01:00
parent 10cb0600bd
commit 00940645c7
2 changed files with 0 additions and 3 deletions

View File

@ -1,5 +1,4 @@
<?php
error_log("Initialising redirect page support");
register_module([
"name" => "Redirect pages",
"version" => "0.1",
@ -8,7 +7,6 @@ register_module([
"id" => "feature-redirect",
"code" => function() {
register_save_preprocessor(function(&$index_entry, &$pagedata) {
error_log("Running redirect check");
$matches = [];
if(preg_match("/^# ?REDIRECT ?\[\[([^\]]+)\]\]/i", $pagedata, $matches) === 1)
{

View File

@ -143,7 +143,6 @@ register_module([
// Execute all the preprocessors
foreach($save_preprocessors as $func)
{
error_log("Executing handler");
$func($pageindex->$page, $pagedata);
}