diff --git a/boot.php b/boot.php index 9a7f038a15..13c96c9bd9 100644 --- a/boot.php +++ b/boot.php @@ -10,7 +10,7 @@ require_once('include/nav.php'); define ( 'FRIENDIKA_PLATFORM', 'Free Friendika'); define ( 'FRIENDIKA_VERSION', '2.3.1141' ); define ( 'DFRN_PROTOCOL_VERSION', '2.21' ); -define ( 'DB_UPDATE_VERSION', 1097 ); +define ( 'DB_UPDATE_VERSION', 1098 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/database.sql b/database.sql index c9e239075c..5d7a3020cf 100644 --- a/database.sql +++ b/database.sql @@ -477,7 +477,12 @@ CREATE TABLE IF NOT EXISTS `queue` ( `created` DATETIME NOT NULL , `last` DATETIME NOT NULL , `content` MEDIUMTEXT NOT NULL, -`batch` TINYINT( 1 ) NOT NULL DEFAULT '0' +`batch` TINYINT( 1 ) NOT NULL DEFAULT '0', +INDEX ( `cid` ), +INDEX ( `created` ), +INDEX ( `last` ), +INDEX ( `network` ), +INDEX ( `batch` ) ) ENGINE = MyISAM DEFAULT CHARSET=utf8; CREATE TABLE IF NOT EXISTS `pconfig` ( diff --git a/include/notifier.php b/include/notifier.php index d12119b05f..61274bedf0 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -784,7 +784,6 @@ function notifier_run($argv, $argc){ call_hooks('notifier_end',$target_item); - return; } diff --git a/update.php b/update.php index ed6b9e05eb..c859626917 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@