|
From: <var...@us...> - 2012-10-05 13:54:00
|
Revision: 8395
http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8395&view=rev
Author: vargenau
Date: 2012-10-05 13:53:50 +0000 (Fri, 05 Oct 2012)
Log Message:
-----------
Be consistent in return
Modified Paths:
--------------
trunk/lib/upgrade.php
Modified: trunk/lib/upgrade.php
===================================================================
--- trunk/lib/upgrade.php 2012-10-05 13:50:15 UTC (rev 8394)
+++ trunk/lib/upgrade.php 2012-10-05 13:53:50 UTC (rev 8395)
@@ -821,7 +821,7 @@
function _upgrade_cached_html($verbose = true)
{
global $DBParams;
- if (!$this->isSQL) return;
+ if (!$this->isSQL) return 0;
$count = 0;
if ($this->phpwiki_version >= 1030.10) {
if ($verbose)
@@ -861,7 +861,7 @@
function _convert_cached_html()
{
global $DBParams;
- if (!$this->isSQL) return;
+ if (!$this->isSQL) return 0;
//if (!in_array(DATABASE_TYPE, array('SQL','ADODB'))) return;
$pages = $this->dbi->getAllPages();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|