table for email poll driver
This commit is contained in:
parent
4cb21fc60b
commit
bfffd33ff9
3 changed files with 20 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -4,7 +4,7 @@ set_time_limit(0);
|
||||||
|
|
||||||
define ( 'FRIENDIKA_VERSION', '2.1.946' );
|
define ( 'FRIENDIKA_VERSION', '2.1.946' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.21' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1049 );
|
define ( 'DB_UPDATE_VERSION', 1050 );
|
||||||
|
|
||||||
define ( 'EOL', "<br />\r\n" );
|
define ( 'EOL', "<br />\r\n" );
|
||||||
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
|
||||||
|
|
|
@ -503,3 +503,12 @@ CREATE TABLE IF NOT EXISTS `ffinder` (
|
||||||
`fid` INT UNSIGNED NOT NULL
|
`fid` INT UNSIGNED NOT NULL
|
||||||
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
|
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `mailacct` (
|
||||||
|
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||||
|
`server` CHAR( 255 ) NOT NULL ,
|
||||||
|
`user` CHAR( 255 ) NOT NULL ,
|
||||||
|
`pass` CHAR( 255 ) NOT NULL ,
|
||||||
|
`reply_to` CHAR( 255 ) NOT NULL ,
|
||||||
|
`last_check` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00'
|
||||||
|
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
|
10
update.php
10
update.php
|
@ -432,3 +432,13 @@ function update_1048() {
|
||||||
q("UPDATE `contact` SET `writable` = 1 WHERE `network` = 'stat' AND `notify` != '' ");
|
q("UPDATE `contact` SET `writable` = 1 WHERE `network` = 'stat' AND `notify` != '' ");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_1049() {
|
||||||
|
q("CREATE TABLE `mailacct` (
|
||||||
|
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
|
||||||
|
`server` CHAR( 255 ) NOT NULL ,
|
||||||
|
`user` CHAR( 255 ) NOT NULL ,
|
||||||
|
`pass` CHAR( 255 ) NOT NULL ,
|
||||||
|
`reply_to` CHAR( 255 ) NOT NULL ,
|
||||||
|
`last_check` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00'
|
||||||
|
) ENGINE = MYISAM ");
|
||||||
|
}
|
Loading…
Reference in a new issue