Commit ead346d6 authored by Robert Lyon's avatar Robert Lyon

Checking for framework table better

Change-Id: I4de0b79dae91dda86f0a90286872843e4d3b18ea
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 04ea83c9
......@@ -410,7 +410,7 @@ class Framework {
}
function set_config_fields() {
if (table_exists(new XMLDBTable('framework_config'))) {
if (db_table_exists('framework_config')) {
$status = new stdClass();
$status->framework = $this->get('id');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment