require_once('library/Mobile_Detect/Mobile_Detect.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
- define ( 'FRIENDICA_VERSION', '3.0.1419' );
+ define ( 'FRIENDICA_VERSION', '3.0.1423' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
-define ( 'DB_UPDATE_VERSION', 1154 );
+define ( 'DB_UPDATE_VERSION', 1155 );
define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
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;
+}