Merge pull request #622 from zzottel/master

reorder iteam table update
This commit is contained in:
zzottel 2013-02-22 04:27:49 -08:00
commit ad16311be6
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();
}