Skip to content

Commit

Permalink
Remove "hide users" RDNPlus option (prev commit makes it redundant)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedEnchilada committed Sep 5, 2014
1 parent 17c5942 commit c6acd8d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion plugins/RDNPlus/RDNPlusPlugin.php
Expand Up @@ -50,7 +50,7 @@ function onCheckSchema() {
array(new ColumnDef('user_id', 'integer', null,
true, 'PRI'),
new ColumnDef('spoilertags', 'varchar', 255, true),
new ColumnDef('usernamestags', 'varchar', 255, true),
//new ColumnDef('usernamestags', 'varchar', 255, true),
new ColumnDef('anyhighlightwords', 'varchar', 255, true),/*
new ColumnDef('maincolor', 'char', 7, true),
new ColumnDef('asidecolor', 'char', 7, true),
Expand Down
2 changes: 1 addition & 1 deletion plugins/RDNPlus/Rdnrefresh.php
Expand Up @@ -12,7 +12,7 @@ class Rdnrefresh extends Memcached_DataObject

public $user_id; // int(4) primary_key not_null
public $spoilertags;
public $usernamestags;
//public $usernamestags;
public $anyhighlightwords;/*
public $maincolor;
public $asidecolor;
Expand Down
4 changes: 3 additions & 1 deletion plugins/RDNPlus/rdnrefreshsettings.php
Expand Up @@ -72,10 +72,12 @@ function showContent()
($this->arg('spoilertags')) ? $this->arg('spoilertags') : $vars['spoilertags']
);
$this->elementEnd('li');
/*
$this->elementStart('li');
$this->input('usernamestags', _('Hide Users'),
($this->arg('')) ? $this->arg('usernamestags') : $vars['usernamestags']);
$this->elementEnd('li');
$this->elementEnd('li');*/

$this->elementStart('li');
$this->input('anyhighlightwords', _('Highlight Words'),
($this->arg('anyhighlightwords')) ? $this->arg('anyhighlightwords') : $vars['anyhighlightwords']);
Expand Down

0 comments on commit c6acd8d

Please sign in to comment.