reorder the update of the item table as instructed by Michael Vogel

This commit is contained in:
zottel 2013-02-22 13:26:11 +01:00
parent 280b72b9e6
commit a17dd541ee
2 changed files with 7 additions and 5 deletions

View file

@ -14,7 +14,7 @@ require_once('include/features.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '3.1.1618' ); define ( 'FRIENDICA_VERSION', '3.1.1618' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1162 ); define ( 'DB_UPDATE_VERSION', 1163 );
define ( 'EOL', "<br />\r\n" ); define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );

View file

@ -1,6 +1,6 @@
<?php <?php
define( 'UPDATE_VERSION' , 1162 ); define( 'UPDATE_VERSION' , 1163 );
/** /**
* *
@ -1409,9 +1409,6 @@ function update_1159() {
if(!$r) if(!$r)
return UPDATE_FAILED; return UPDATE_FAILED;
require_once('include/tags.php');
update_items();
return UPDATE_SUCCESS; return UPDATE_SUCCESS;
} }
@ -1439,3 +1436,8 @@ function update_1161() {
return UPDATE_SUCCESS; return UPDATE_SUCCESS;
} }
function update_1162() {
require_once('include/tags.php');
update_items();
}