1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-22 22:25:31 +02:00

Code cleanup

This commit is contained in:
Cameron
2020-12-18 19:55:12 -08:00
parent 2b8a3cff60
commit 5b82c292b1
80 changed files with 1888 additions and 1731 deletions

View File

@@ -564,19 +564,17 @@ class listclass
{
$name = "list_".$file;
$listArray = '';
$listArray = array();
//instantiate the class with this as parm
if(!class_exists($name))
{
//echo "class $name doesn't exist<br />";
}
else
if(class_exists($name))
{
$class = new $name($this);
//call method
if(!method_exists($class, 'getListData'))
{
return $listArray;
//echo "method getListData doesn't exist in class $class<br />";
}
else
@@ -600,6 +598,7 @@ class listclass
}
}
}
return $listArray;
}