diff --git a/phpgwapi/inc/class.egw.inc.php b/phpgwapi/inc/class.egw.inc.php
index 345946df22..768e148d6c 100644
--- a/phpgwapi/inc/class.egw.inc.php
+++ b/phpgwapi/inc/class.egw.inc.php
@@ -87,8 +87,18 @@
if(!$this->db->next_record())
{
$setup_dir = str_replace($_SERVER['PHP_SELF'],'index.php','setup/');
- echo '
Fatal Error: It appears that you have not created the database tables for '
- .'eGroupWare. Click here to run setup.';
+
+ // we check for the old table too, to not scare updating users ;-)
+ $this->db->select('phpgw_config','COUNT(config_name)',false,__LINE__,__FILE__);
+ if ($this->db->next_record())
+ {
+ echo 'Fatal Error: You need to update eGroupWare before you can continue using it.';
+ }
+ else
+ {
+ echo 'Fatal Error: It appears that you have not created the database tables for '
+ .'eGroupWare. Click here to run setup.';
+ }
exit;
}
$this->db->Halt_On_Error = 'yes';