Browse Source

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

pull/622/head
zottel 9 years ago
parent
commit
a17dd541ee
  1. 2
      boot.php
  2. 10
      update.php

2
boot.php

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

10
update.php

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