diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-16 16:53:59 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-16 16:53:59 -0400 |
commit | 265d267d8192b5674cf974e0d0429cdf50087cc2 (patch) | |
tree | adf42174faf4210480564cb75ecf31993666b460 | |
parent | e858ee49c654e6b90ebed658aaeab4f39fed25a7 (diff) |
remove tag URI stuff; unused and confusing
darcs-hash:20080716205359-84dde-590916f8812c7c03a2b81b3e7aeb021194ac0f25.gz
-rw-r--r-- | config.php.sample | 4 | ||||
-rw-r--r-- | lib/common.php | 4 | ||||
-rw-r--r-- | lib/util.php | 7 |
3 files changed, 0 insertions, 15 deletions
diff --git a/config.php.sample b/config.php.sample index 27511d129..3f732d109 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 c0921b662..88f398cba 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 997f32430..1aa9d2944 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() { |