1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Code clean-up (globals, $e107->, headers, $sql)

This commit is contained in:
Moc
2013-03-25 18:48:48 +01:00
parent 231dd00f27
commit 2074ef8f37
17 changed files with 106 additions and 121 deletions

View File

@@ -61,13 +61,13 @@ class list_forum
}
if(!$results = $this->parent->e107->sql->db_Select_gen($qry))
if(!$results = $this->parent->$sql->gen($qry))
{
$list_data = LIST_FORUM_2;
}
else
{
$forumArray = $this->parent->e107->sql->db_getList();
$forumArray = $this->parent->e107->$sql->getList();
$path = e_PLUGIN."forum/";
foreach($forumArray as $forumInfo)