aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2011-01-23 16:51:18 -0500
committerEvan Prodromou <evan@status.net>2011-01-23 16:51:18 -0500
commitdebf4dacf10c5cf3e395f77aa9f5ba71edba1776 (patch)
treec25d23df40ac049c1ddd9bbb6b34498868547e09 /db
parent570c7b63a2c0506e4876e27cd9ab56c16ce60b6c (diff)
downloadgnu-social-debf4dacf10c5cf3e395f77aa9f5ba71edba1776.tar
gnu-social-debf4dacf10c5cf3e395f77aa9f5ba71edba1776.zip
change default urlshortener from ur1.ca to internal
Diffstat (limited to 'db')
-rw-r--r--db/core.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/core.php b/db/core.php
index 29aa917c1f..55d724b505 100644
--- a/db/core.php
+++ b/db/core.php
@@ -118,7 +118,7 @@ $schema['user'] = array(
'smsemail' => array('type' => 'varchar', 'length' => 255, 'description' => 'built from sms and carrier'),
'uri' => array('type' => 'varchar', 'length' => 255, 'description' => 'universally unique identifier, usually a tag URI'),
'autosubscribe' => array('type' => 'int', 'size' => 'tiny', 'default' => 0, 'description' => 'automatically subscribe to users who subscribe to us'),
- 'urlshorteningservice' => array('type' => 'varchar', 'length' => 50, 'default' => 'ur1.ca', 'description' => 'service to use for auto-shortening URLs'),
+ 'urlshorteningservice' => array('type' => 'varchar', 'length' => 50, 'default' => 'internal', 'description' => 'service to use for auto-shortening URLs'),
'inboxed' => array('type' => 'int', 'size' => 'tiny', 'default' => 0, 'description' => 'has an inbox been created for this user?'),
'design_id' => array('type' => 'int', 'description' => 'id of a design'),
'viewdesigns' => array('type' => 'int', 'size' => 'tiny', 'default' => 1, 'description' => 'whether to view user-provided designs'),
@@ -1002,7 +1002,7 @@ $schema['local_group'] = array(
$schema['user_urlshortener_prefs'] = array(
'fields' => array(
'user_id' => array('type' => 'int', 'not null' => true, 'description' => 'user'),
- 'urlshorteningservice' => array('type' => 'varchar', 'length' => 50, 'default' => 'ur1.ca', 'description' => 'service to use for auto-shortening URLs'),
+ 'urlshorteningservice' => array('type' => 'varchar', 'length' => 50, 'default' => 'internal', 'description' => 'service to use for auto-shortening URLs'),
'maxurllength' => array('type' => 'int', 'not null' => true, 'description' => 'urls greater than this length will be shortened, 0 = always, null = never'),
'maxnoticelength' => array('type' => 'int', 'not null' => true, 'description' => 'notices with content greater than this value will have all urls shortened, 0 = always, null = never'),