|
From: <var...@us...> - 2010-07-13 13:35:20
|
Revision: 7599
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7599&view=rev
Author: vargenau
Date: 2010-07-13 13:35:14 +0000 (Tue, 13 Jul 2010)
Log Message:
-----------
The page content is the same, we don't need a new revision
Modified Paths:
--------------
trunk/lib/loadsave.php
Modified: trunk/lib/loadsave.php
===================================================================
--- trunk/lib/loadsave.php 2010-07-13 13:17:34 UTC (rev 7598)
+++ trunk/lib/loadsave.php 2010-07-13 13:35:14 UTC (rev 7599)
@@ -994,11 +994,8 @@
$skip = true;
}
}
- else if ($current->getPackedContent() == $content
- && $current->get('author') == $versiondata['author']) {
- // The page metadata is already changed, we don't need a new revision.
- // This was called previously "is identical to current version %d - skipped"
- // which is wrong, since the pagedata was stored, not skipped.
+ else if ($current->getPackedContent() == $content) {
+ // The page content is the same, we don't need a new revision.
$mesg->pushContent(' ',
fmt("content is identical to current version %d - no new revision created",
$current->getVersion()));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|