plugin: orphaned hooks weren't deleted.
update: fixing update job for tags.
This commit is contained in:
11
update.php
11
update.php
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1159 );
|
||||
define( 'UPDATE_VERSION' , 1162 );
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -1430,3 +1430,12 @@ function update_1160() {
|
||||
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
function update_1161() {
|
||||
$r = q("ALTER TABLE `pconfig` ADD INDEX (`cat`)");
|
||||
|
||||
if(!$r)
|
||||
return UPDATE_FAILED;
|
||||
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user