Add Hipchat integration
This commit is contained in:
@@ -6,7 +6,16 @@ use PDO;
|
||||
use Core\Security;
|
||||
use Model\Link;
|
||||
|
||||
const VERSION = 58;
|
||||
const VERSION = 59;
|
||||
|
||||
function version_59($pdo)
|
||||
{
|
||||
$rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)');
|
||||
$rq->execute(array('integration_hipchat', '0'));
|
||||
$rq->execute(array('integration_hipchat_api_url', 'https://api.hipchat.com'));
|
||||
$rq->execute(array('integration_hipchat_room_id', ''));
|
||||
$rq->execute(array('integration_hipchat_room_token', ''));
|
||||
}
|
||||
|
||||
function version_58($pdo)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,16 @@ use PDO;
|
||||
use Core\Security;
|
||||
use Model\Link;
|
||||
|
||||
const VERSION = 39;
|
||||
const VERSION = 40;
|
||||
|
||||
function version_40($pdo)
|
||||
{
|
||||
$rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)');
|
||||
$rq->execute(array('integration_hipchat', '0'));
|
||||
$rq->execute(array('integration_hipchat_api_url', 'https://api.hipchat.com'));
|
||||
$rq->execute(array('integration_hipchat_room_id', ''));
|
||||
$rq->execute(array('integration_hipchat_room_token', ''));
|
||||
}
|
||||
|
||||
function version_39($pdo)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,16 @@ use Core\Security;
|
||||
use PDO;
|
||||
use Model\Link;
|
||||
|
||||
const VERSION = 57;
|
||||
const VERSION = 58;
|
||||
|
||||
function version_58($pdo)
|
||||
{
|
||||
$rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)');
|
||||
$rq->execute(array('integration_hipchat', '0'));
|
||||
$rq->execute(array('integration_hipchat_api_url', 'https://api.hipchat.com'));
|
||||
$rq->execute(array('integration_hipchat_room_id', ''));
|
||||
$rq->execute(array('integration_hipchat_room_token', ''));
|
||||
}
|
||||
|
||||
function version_57($pdo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user