<?php
-define( 'UPDATE_VERSION' , 1154 );
+define( 'UPDATE_VERSION' , 1155 );
/**
*
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;
+}