Skip to content
Browse files

use table_exists()

  • Loading branch information...
1 parent 140d88a commit 48bbecb7199ceb6f5f9212b37da7890fb392cf32 @brandonkelly brandonkelly committed Apr 10, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −3 ff2ee2.php
View
4 ff2ee2.php
@@ -77,9 +77,7 @@ function FF2EE2($class, $field_settings_callback = FALSE)
// Was FieldFrame even installed?
// -------------------------------------------
- $query = $this->EE->db->query('SHOW TABLES LIKE "exp_ff_fieldtypes"');
-
- if (! $query->num_rows())
+ if (! $this->EE->db->table_exists('ff_fieldtypes'))
{
return;
}

0 comments on commit 48bbecb

Please sign in to comment.
Something went wrong with that request. Please try again.