Send all Kanboard events to the webhook (breaking change)

This commit is contained in:
Frederic Guillot
2015-05-18 21:04:06 -04:00
parent db95e96f92
commit 6d5ffaa848
30 changed files with 501 additions and 154 deletions

View File

@@ -6,7 +6,16 @@ use PDO;
use Core\Security;
use Model\Link;
const VERSION = 51;
const VERSION = 52;
function version_52($pdo)
{
$rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)');
$rq->execute(array('webhook_url', ''));
$pdo->exec("DELETE FROM settings WHERE option='webhook_url_task_creation'");
$pdo->exec("DELETE FROM settings WHERE option='webhook_url_task_modification'");
}
function version_51($pdo)
{