summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-30 21:27:49 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-30 21:27:49 -0400
commit01f9ee3410bb4f6878033b353f5a0731397632d0 (patch)
treeabf46f22cca9ac8d6aa410336ff5d5682708c6e0 /app/Schema/Sqlite.php
parentb17f4b28ca948d223f12ceab96e38c018f32c6fd (diff)
Add Gravatar integration
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r--app/Schema/Sqlite.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php
index 3ad045e6..3683acb6 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -6,7 +6,13 @@ use Core\Security;
use PDO;
use Model\Link;
-const VERSION = 58;
+const VERSION = 59;
+
+function version_59($pdo)
+{
+ $rq = $pdo->prepare('INSERT INTO settings VALUES (?, ?)');
+ $rq->execute(array('integration_gravatar', '0'));
+}
function version_58($pdo)
{