Remove database update, use fallback solution instead.

This commit is contained in:
Domovoy
2012-08-05 15:08:31 +02:00
parent e247915f48
commit dac88fce56
3 changed files with 8 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1155 );
define( 'UPDATE_VERSION' , 1154 );
/**
*
@@ -1343,10 +1343,3 @@ function update_1153() {
if(!$r) return UPDATE_FAILED;
return UPDATE_SUCCESS;
}
function update_1154() {
$r = q("UPDATE `item` SET `thr-parent`=`parent-uri` WHERE `id`!=`parent` AND `thr-parent`=''");
if(!$r) return UPDATE_FAILED;
return UPDATE_SUCCESS;
}