mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 12:58:25 +01:00
More adjustments. More uniqunes.
git-svn-id: https://develop.svn.wordpress.org/trunk@232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d83060545d
commit
64a5736a86
@ -210,7 +210,8 @@ $query = "
|
||||
CREATE TABLE $tablecategories (
|
||||
cat_ID int(4) NOT NULL auto_increment,
|
||||
cat_name varchar(55) NOT NULL default '',
|
||||
PRIMARY KEY (cat_ID)
|
||||
PRIMARY KEY (cat_ID),
|
||||
UNIQUE (cat_name)
|
||||
)
|
||||
";
|
||||
$q = $wpdb->query($query);
|
||||
@ -323,7 +324,7 @@ CREATE TABLE $tableoptionvalues (
|
||||
optionvalue_max int(11),
|
||||
optionvalue_min int(11),
|
||||
optionvalue_seq int(11),
|
||||
KEY (option_id),
|
||||
UNIQUE (option_id, optionvalue(255)),
|
||||
INDEX (option_id, optionvalue_seq)
|
||||
)
|
||||
";
|
||||
@ -555,7 +556,7 @@ if (isset($url)) {
|
||||
$q = $wpdb->query($query);
|
||||
$query= "UPDATE $tableoptions set option_value='$url' where option_id=28"; //blodotgsping_url
|
||||
$q = $wpdb->query($query);
|
||||
$query= "UPDATE $tableoptions set option_value='$url' where option_id=17"; //smilies_directory
|
||||
$query= "UPDATE $tableoptions set option_value='$url/b2-img/smilies' where option_id=17"; //smilies_directory
|
||||
$q = $wpdb->query($query);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user