Add Slack integration

This commit is contained in:
Frederic Guillot
2015-03-28 21:37:53 -04:00
parent f9891a966f
commit 5536f6c6ce
32 changed files with 296 additions and 47 deletions

View File

@@ -6,7 +6,14 @@ use PDO;
use Core\Security;
use Model\Link;
const VERSION = 38;
const VERSION = 39;
function version_39($pdo)
{
$rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)');
$rq->execute(array('integration_slack_webhook', '0'));
$rq->execute(array('integration_slack_webhook_url', ''));
}
function version_38($pdo)
{