aboutsummaryrefslogtreecommitdiff
path: root/scripts/pagerev.php
diff options
context:
space:
mode:
authorpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2022-01-09 08:05:46 +0000
committerpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2022-01-09 08:05:46 +0000
commit32b9cdfff60ea8f49bec6a4fcdb0f8d1b2624135 (patch)
tree7dce1a88a8e95cacc27b8252fb80a2f49179fda5 /scripts/pagerev.php
parentbae82de8d811ab724e42b93983395cfc5472d8e0 (diff)
downloadpmwiki.svn-32b9cdfff60ea8f49bec6a4fcdb0f8d1b2624135.tar.bz2
HandleDiffList remove $[by], appears in the locale of the other page, and it is unneeded.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@3994 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts/pagerev.php')
-rw-r--r--scripts/pagerev.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/pagerev.php b/scripts/pagerev.php
index cce3eb07..656a8199 100644
--- a/scripts/pagerev.php
+++ b/scripts/pagerev.php
@@ -189,7 +189,6 @@ function HandleDiffList($pagename, $auth='read') {
exit;
}
krsort($page); reset($page);
- $by = XL('by');
$out = "";
$hide = IsEnabled($EnableDiffHidden, 0)? '' : '(?!hidden)';
$list = preg_grep("/^diff:(\\d+):\\d+:$hide\\w*$/", array_keys($page));
@@ -198,7 +197,7 @@ function HandleDiffList($pagename, $auth='read') {
if ($stamp == $page['time']) continue;
$author = @$page["author:$stamp"] ? $page["author:$stamp"] : '?';
$csum = strval(@$page["csum:$stamp"]);
- $out .= "$stamp:".PHSC("$by $author: $csum")."\n";
+ $out .= "$stamp:".PHSC("$author: $csum")."\n";
if ($stamp<$since) break; # at least one after the 72 hours
}
print(trim($out));