1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 16:33:00 +00:00

Remove recent changes debug statements

This commit is contained in:
Starbeamrainbowlabs 2016-01-16 14:09:51 +00:00
parent 110d5f1ae6
commit 02b6df6ea3
4 changed files with 3 additions and 9 deletions

View file

@ -325,7 +325,7 @@ textarea ~ input[type=submit] { margin: 0.5rem 0.8rem; padding: 0.5rem; font-wei
.larger { color: rgb(9, 180, 0); } .larger { color: rgb(9, 180, 0); }
.smaller { color: rgb(207, 28, 17); } .smaller { color: rgb(207, 28, 17); }
.nochange { color: rgb(132, 123, 199); font-style: italic; } .nochange { color: rgb(132, 123, 199); font-style: italic; }
.significant { font-weight: bold; } .significant { font-weight: bolder; font-size: 1.1rem; }
footer { padding: 2rem; } footer { padding: 2rem; }
/* #ffdb6d #36962c */"; /* #ffdb6d #36962c */";
@ -1607,9 +1607,6 @@ register_module([
// Calculate the page length difference // Calculate the page length difference
$size_diff = $newsize - $oldsize; $size_diff = $newsize - $oldsize;
error_log("$oldsize -> $newsize");
error_log("Size diff: $size_diff");
$recentchanges = json_decode(file_get_contents($paths->recentchanges), true); $recentchanges = json_decode(file_get_contents($paths->recentchanges), true);
array_unshift($recentchanges, [ array_unshift($recentchanges, [
"timestamp" => time(), "timestamp" => time(),

View file

@ -41,7 +41,7 @@
"author": "Starbeamrainbowlabs", "author": "Starbeamrainbowlabs",
"description": "Adds recent changes. Access through the 'recent-changes' action.", "description": "Adds recent changes. Access through the 'recent-changes' action.",
"id": "feature-recent-changes", "id": "feature-recent-changes",
"lastupdate": 1452952166, "lastupdate": 1452952383,
"optional": false "optional": false
}, },
{ {

View file

@ -69,9 +69,6 @@ register_module([
// Calculate the page length difference // Calculate the page length difference
$size_diff = $newsize - $oldsize; $size_diff = $newsize - $oldsize;
error_log("$oldsize -> $newsize");
error_log("Size diff: $size_diff");
$recentchanges = json_decode(file_get_contents($paths->recentchanges), true); $recentchanges = json_decode(file_get_contents($paths->recentchanges), true);
array_unshift($recentchanges, [ array_unshift($recentchanges, [
"timestamp" => time(), "timestamp" => time(),

View file

@ -314,7 +314,7 @@ textarea ~ input[type=submit] { margin: 0.5rem 0.8rem; padding: 0.5rem; font-wei
.larger { color: rgb(9, 180, 0); } .larger { color: rgb(9, 180, 0); }
.smaller { color: rgb(207, 28, 17); } .smaller { color: rgb(207, 28, 17); }
.nochange { color: rgb(132, 123, 199); font-style: italic; } .nochange { color: rgb(132, 123, 199); font-style: italic; }
.significant { font-weight: bold; } .significant { font-weight: bolder; font-size: 1.1rem; }
footer { padding: 2rem; } footer { padding: 2rem; }
/* #ffdb6d #36962c */"; /* #ffdb6d #36962c */";