1
0
Fork 0

Send notifications for each new post of a contact, option for creating a summary for a feed post

This commit is contained in:
Michael Vogel 2014-01-05 16:10:02 +01:00
commit 28df35052a
8 changed files with 155 additions and 32 deletions

View file

@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1167 );
define( 'UPDATE_VERSION' , 1169 );
/**
*
@ -1541,3 +1541,19 @@ function update_1166() {
return UPDATE_SUCCESS;
}
function update_1167() {
$r = q("ALTER TABLE `contact` ADD `notify_new_posts` TINYINT(1) NOT NULL DEFAULT '0'");
if (!$r)
return UPDATE_FAILED;
return UPDATE_SUCCESS;
}
function update_1168() {
$r = q("ALTER TABLE `contact` ADD `fetch_further_information` TINYINT(1) NOT NULL DEFAULT '0'");
if (!$r)
return UPDATE_FAILED;
return UPDATE_SUCCESS;
}