1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/14264] Don't use constants as return values

This will prevent BC breaking in the future if we decide to
get rid of constants.

PHPBB3-14264
This commit is contained in:
Oliver Schramm
2015-10-29 01:48:52 +01:00
parent 8b7f711a18
commit 2016550a32
9 changed files with 18 additions and 67 deletions

View File

@@ -27,12 +27,4 @@ class forum_description extends \phpbb\textreparser\row_based_plugin
'options' => 'forum_desc_options',
);
}
/**
* {@inheritdoc}
*/
public function get_table_name()
{
return FORUMS_TABLE;
}
}

View File

@@ -27,12 +27,4 @@ class forum_rules extends \phpbb\textreparser\row_based_plugin
'options' => 'forum_rules_options',
);
}
/**
* {@inheritdoc}
*/
public function get_table_name()
{
return FORUMS_TABLE;
}
}

View File

@@ -27,12 +27,4 @@ class group_description extends \phpbb\textreparser\row_based_plugin
'options' => 'group_desc_options',
);
}
/**
* {@inheritdoc}
*/
public function get_table_name()
{
return GROUPS_TABLE;
}
}

View File

@@ -29,12 +29,4 @@ class pm_text extends \phpbb\textreparser\row_based_plugin
'bbcode_uid' => 'bbcode_uid',
);
}
/**
* {@inheritdoc}
*/
public function get_table_name()
{
return PRIVMSGS_TABLE;
}
}

View File

@@ -39,12 +39,4 @@ class poll_title extends \phpbb\textreparser\row_based_plugin
return $sql;
}
/**
* {@inheritdoc}
*/
public function get_table_name()
{
return TOPICS_TABLE;
}
}

View File

@@ -29,12 +29,4 @@ class post_text extends \phpbb\textreparser\row_based_plugin
'bbcode_uid' => 'bbcode_uid',
);
}
/**
* {@inheritdoc}
*/
public function get_table_name()
{
return POSTS_TABLE;
}
}

View File

@@ -54,14 +54,6 @@ class user_signature extends \phpbb\textreparser\row_based_plugin
);
}
/**
* {@inheritdoc}
*/
public function get_table_name()
{
return USERS_TABLE;
}
/**
* Save the keyoptions var from \phpbb\user
*/