aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_convert.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-01-07 17:25:47 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-01-07 17:25:47 +0000
commit8f4c3a1feeb04cc5b5a613472e14be1b98bf493c (patch)
tree8c29e5d62a6adf386a35f49d9b3d29a9ec9d88f2 /phpBB/install/install_convert.php
parentec7936509ac13ff99ff1d43ce3850d7110313f74 (diff)
downloadforums-8f4c3a1feeb04cc5b5a613472e14be1b98bf493c.tar
forums-8f4c3a1feeb04cc5b5a613472e14be1b98bf493c.tar.gz
forums-8f4c3a1feeb04cc5b5a613472e14be1b98bf493c.tar.bz2
forums-8f4c3a1feeb04cc5b5a613472e14be1b98bf493c.tar.xz
forums-8f4c3a1feeb04cc5b5a613472e14be1b98bf493c.zip
some fixes...
git-svn-id: file:///svn/phpbb/trunk@6854 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_convert.php')
-rw-r--r--phpBB/install/install_convert.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php
index f9e2583294..61096f5b86 100644
--- a/phpBB/install/install_convert.php
+++ b/phpBB/install/install_convert.php
@@ -893,7 +893,7 @@ class install_convert extends module
$template->assign_block_vars('checks', array(
'TITLE' => "skip_rows = $skip_rows",
- 'RESULT' => $rows . ((defined('DEBUG_EXTRA')) ? ceil(memory_get_usage()/1024) . ' KB' : ''),
+ 'RESULT' => $rows . ((defined('DEBUG_EXTRA') && function_exists('memory_get_usage')) ? ceil(memory_get_usage()/1024) . ' KB' : ''),
));
$mtime = explode(' ', microtime());
@@ -1125,7 +1125,7 @@ class install_convert extends module
sync('topic', 'range', 'topic_id BETWEEN ' . $sync_batch . ' AND ' . $end, true, true);
$template->assign_block_vars('checks', array(
- 'TITLE' => sprintf($user->lang['SYNC_TOPIC_ID'], $sync_batch, ($sync_batch + $batch_size)) . ((defined('DEBUG_EXTRA')) ? ' [' . ceil(memory_get_usage()/1024) . ' KB]' : ''),
+ 'TITLE' => sprintf($user->lang['SYNC_TOPIC_ID'], $sync_batch, ($sync_batch + $batch_size)) . ((defined('DEBUG_EXTRA') && function_exists('memory_get_usage')) ? ' [' . ceil(memory_get_usage()/1024) . ' KB]' : ''),
'RESULT' => $user->lang['DONE'],
));