remove the private keywords stuff to reduce directory and search complexity

This commit is contained in:
friendica
2012-12-26 03:49:50 -08:00
parent 1aeea64311
commit c8292b3cdd
11 changed files with 34 additions and 42 deletions
+9 -1
View File
@@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1008 );
define( 'UPDATE_VERSION' , 1009 );
/**
*
@@ -152,3 +152,11 @@ function update_r1007() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
function update_r1008() {
$r = q("alter table profile drop prv_keywords, CHANGE `pub_keywords` `keywords` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, drop index pub_keywords");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}