diff --git a/src/IDF/Migrations/Install.php b/src/IDF/Migrations/Install.php index 5d5a57c..9aff396 100644 --- a/src/IDF/Migrations/Install.php +++ b/src/IDF/Migrations/Install.php @@ -50,6 +50,7 @@ function IDF_Migrations_Install_setup($params=null) 'IDF_Scm_Cache_Git', 'IDF_Queue', 'IDF_Gconf', + 'IDF_EmailAddress', ); $db = Pluf::db(); $schema = new Pluf_DB_Schema($db); @@ -107,6 +108,7 @@ function IDF_Migrations_Install_teardown($params=null) 'IDF_Tag', 'IDF_Commit', 'IDF_Project', + 'IDF_EmailAddress', ); $db = Pluf::db(); $schema = new Pluf_DB_Schema($db); @@ -114,4 +116,4 @@ function IDF_Migrations_Install_teardown($params=null) $schema->model = new $model(); $schema->dropTables(); } -} \ No newline at end of file +} diff --git a/src/IDF/Views.php b/src/IDF/Views.php index cb44ce6..685eb83 100644 --- a/src/IDF/Views.php +++ b/src/IDF/Views.php @@ -378,7 +378,7 @@ class IDF_Views // Count members $db =& Pluf::db(); - $sql = "SELECT count(id) as `nb` FROM indefero_users WHERE first_name != '---'"; + $sql = "SELECT count(id) as nb FROM indefero_users WHERE first_name != '---'"; $ret = $db->select ($sql); $forgestats['members'] = $ret[0]['nb'];