1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-03 23:37:39 +02:00

[ticket/11495] Use unique properties for the column names

PHPBB3-11495
This commit is contained in:
Joas Schilling
2013-04-17 22:52:17 +02:00
parent dcee7961e8
commit f831e3c66e
2 changed files with 95 additions and 102 deletions

View File

@@ -31,15 +31,10 @@ class phpbb_nestedset_forum extends phpbb_nestedset_base
/**
* Column names in the table
* @var array
* @var String
*/
protected $table_columns = array(
'item_id' => 'forum_id',
'left_id' => 'left_id',
'right_id' => 'right_id',
'parent_id' => 'parent_id',
'item_parents' => 'forum_parents',
);
protected $columns_item_id = 'forum_id';
protected $columns_item_parents = 'forum_parents';
/**
* Additional SQL restrictions