From: Michael J. Rubinsky Date: Mon, 26 Oct 2009 19:25:43 +0000 (-0400) Subject: Version is now a property of *_Application, not *_Api X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c2e642117d7d12344b3a22bd4587630e28431797;p=horde.git Version is now a property of *_Application, not *_Api --- diff --git a/ansel/test.php b/ansel/test.php index 2218bc79e..64704da40 100644 --- a/ansel/test.php +++ b/ansel/test.php @@ -30,9 +30,9 @@ $horde_test = new Horde_Test; /* Ansel version. */ $module = 'Ansel'; -require_once dirname(__FILE__) . '/lib/Api.php'; -$api = new Ansel_Api(); -$module_version = $api->version; +require_once dirname(__FILE__) . '/lib/Application.php'; +$app = new Ansel_Application(); +$module_version = $app->version; /* Ansel configuration files. */ $file_list = array( diff --git a/chora/test.php b/chora/test.php index b2beca277..e71a2fc29 100644 --- a/chora/test.php +++ b/chora/test.php @@ -30,9 +30,9 @@ $horde_test = new Horde_Test; /* Chora version. */ $module = 'Chora'; -require_once dirname(__FILE__) . '/lib/Api.php'; -$api = new Chora_Api(); -$module_version = $api->version; +require_once dirname(__FILE__) . '/lib/Application.php'; +$app = new Chora_Application(); +$module_version = $app->version; /* Chora configuration files. */ $file_list = array( diff --git a/gollem/test.php b/gollem/test.php index dfb7ac67b..40a6202f4 100644 --- a/gollem/test.php +++ b/gollem/test.php @@ -33,9 +33,9 @@ $horde_test = new Horde_Test(); /* Gollem version. */ $module = 'Gollem'; -require_once dirname(__FILE__) . '/lib/Api.php'; -$api = new Gollem_Api(); -$module_version = $api->version; +require_once dirname(__FILE__) . '/lib/Application.php'; +$app = new Gollem_Application(); +$module_version = $app->version; /* Gollem configuration files. */ $file_list = array( diff --git a/imp/test.php b/imp/test.php index e5a4400e4..1b2767f23 100644 --- a/imp/test.php +++ b/imp/test.php @@ -121,9 +121,9 @@ $horde_test = new Horde_Test; /* IMP version. */ $module = 'IMP'; -require_once dirname(__FILE__) . '/lib/Api.php'; -$api = new IMP_Api(); -$module_version = $api->version; +require_once dirname(__FILE__) . '/lib/Application.php'; +$app = new IMP_Application(); +$module_version = $app->version; require TEST_TEMPLATES . 'header.inc'; require TEST_TEMPLATES . 'version.inc'; diff --git a/ingo/test.php b/ingo/test.php index 50408fe1b..24e1ad017 100644 --- a/ingo/test.php +++ b/ingo/test.php @@ -33,9 +33,9 @@ $horde_test = new Horde_Test; /* Ingo version. */ $module = 'Ingo'; -require_once dirname(__FILE__) . '/lib/Api.php'; -$api = new Ingo_Api(); -$module_version = $api->version; +require_once dirname(__FILE__) . '/lib/Application.php'; +$api = new Ingo_Application(); +$module_version = $app->version; require TEST_TEMPLATES . 'header.inc'; require TEST_TEMPLATES . 'version.inc'; diff --git a/jeta/test.php b/jeta/test.php index a5b8725a6..fd3e25d30 100644 --- a/jeta/test.php +++ b/jeta/test.php @@ -31,8 +31,8 @@ $horde_test = new Horde_Test(); /* Jeta version. */ $module = 'Jeta'; require_once dirname(__FILE__) . '/lib/Api.php'; -$api = new Jeta_Api(); -$module_version = $api->version; +$app = new Jeta_Application(); +$module_version = $app->version; /* Jeta configuration files. */ $file_list = array( diff --git a/kronolith/test.php b/kronolith/test.php index db93d1cad..280c4e1a8 100644 --- a/kronolith/test.php +++ b/kronolith/test.php @@ -20,9 +20,10 @@ require_once HORDE_BASE . '/lib/Test.php'; $horde_test = new Horde_Test; $module = 'Kronolith'; -require_once dirname(__FILE__) . '/lib/Api.php'; -$api = new Kronolith_Api(); -$module_version = $api->version; +require_once dirname(__FILE__) . '/lib/Application.php'; +$app = new Kronolith_Application(); + +$module_version = $app->version; require TEST_TEMPLATES . 'header.inc'; require TEST_TEMPLATES . 'version.inc'; diff --git a/turba/test.php b/turba/test.php index cd395c451..941a29600 100644 --- a/turba/test.php +++ b/turba/test.php @@ -32,9 +32,9 @@ $horde_test = new Horde_Test(); /* Turba version. */ $module = 'Turba'; -require_once dirname(__FILE__) . '/lib/Api.php'; -$api = new Turba_Api(); -$module_version = $api->version; +require_once dirname(__FILE__) . '/lib/Application.php'; +$app = new Turba_Application(); +$module_version = $app->version; require TEST_TEMPLATES . 'header.inc'; require TEST_TEMPLATES . 'version.inc';