plugin: orphaned hooks weren't deleted.
update: fixing update job for tags.
This commit is contained in:
parent
1a1984c78d
commit
7e154d5e4c
3 changed files with 12 additions and 3 deletions
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue