plugin: orphaned hooks weren't deleted.

update: fixing update job for tags.
This commit is contained in:
Michael Vogel
2013-02-17 18:05:30 +01:00
parent 1a1984c78d
commit 7e154d5e4c
3 changed files with 12 additions and 3 deletions

View File

@@ -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;
}