From: Evan Prodromou Date: Wed, 16 Jul 2008 20:53:59 +0000 (-0400) Subject: remove tag URI stuff; unused and confusing X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=265d267d8192b5674cf974e0d0429cdf50087cc2;p=quix0rs-gnu-social.git remove tag URI stuff; unused and confusing darcs-hash:20080716205359-84dde-590916f8812c7c03a2b81b3e7aeb021194ac0f25.gz --- diff --git a/config.php.sample b/config.php.sample index 27511d129b..3f732d109f 100644 --- a/config.php.sample +++ b/config.php.sample @@ -35,10 +35,6 @@ $config['db']['database'] = 'mysql://laconica:microblog@localhost/laconica'; #$config['db']['debug'] = 0; #$config['db']['db_driver'] = 'MDB2'; -#$config['tag']['authority'] = $config['site']['server']; -#$config['tag']['date'] = '2008'; -#$config['tag']['prefix'] = $config['site']['path'] . ':'; - #session_set_cookie_params(0, '/'. $config['site']['path'] .'/'); #Standard fancy-url clashes prevented by not allowing nicknames on a blacklist diff --git a/lib/common.php b/lib/common.php index c0921b662b..88f398cbab 100644 --- a/lib/common.php +++ b/lib/common.php @@ -49,10 +49,6 @@ $config = 'syslog' => array('appname' => 'laconica', # for syslog 'priority' => 'debug'), # XXX: currently ignored - 'tag' => - array('authority' => 'INVALID TAG', - 'date' => 'PUT A DATE HERE', - 'prefix' => ''), 'queue' => array('enabled' => false), 'license' => diff --git a/lib/util.php b/lib/util.php index 997f32430b..1aa9d2944c 100644 --- a/lib/util.php +++ b/lib/util.php @@ -998,13 +998,6 @@ function common_notice_form($action=NULL, $content=NULL) { common_element_end('form'); } -function common_mint_tag($extra) { - global $config; - return - 'tag:'.$config['tag']['authority'].','. - $config['tag']['date'].':'.$config['tag']['prefix'].$extra; -} - # Should make up a reasonable root URL function common_root_url() {