typo in update - critical

This commit is contained in:
friendica 2012-01-26 23:56:47 -08:00
parent 94b9e9ce6d
commit 1bec801523
2 changed files with 7 additions and 4 deletions

View file

@ -11,7 +11,7 @@ require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '2.3.1236' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1117 );
define ( 'DB_UPDATE_VERSION', 1118 );
define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );

View file

@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1117 );
define( 'UPDATE_VERSION' , 1118 );
/**
*
@ -997,9 +997,12 @@ function update_1115() {
ADD INDEX (`moderated`) ");
}
function update_1116() {
q("create table if not exists `manage` {
//typo! corrected update was rolled forward
}
function update_1117() {
q("create table if not exists `manage` (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`uid` INT NOT NULL ,
`mid` INT NOT NULL,