From bcbabdd971869d8fb30eb4a58f4f64ce070cde94 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 12 Oct 2006 05:13:07 +0000 Subject: [PATCH] Removing calls to check_isso_fields() --- db.php | 2 -- db_postgresql.php | 2 -- kernel.php | 2 -- printer.php | 4 +--- template.php | 2 -- 5 files changed, 1 insertion(+), 11 deletions(-) diff --git a/db.php b/db.php index f7f5054..0094d90 100644 --- a/db.php +++ b/db.php @@ -186,8 +186,6 @@ class DB_Abstract */ function connect($server, $user, $password, $database, $pconnect) { - $this->registry->check_isso_fields(get_class($this)); - if ($this->dblink == false) { $this->dblink = call_user_func(($pconnect ? $this->commands['pconnect'] : $this->commands['connect']), $server, $user, $password, $database); diff --git a/db_postgresql.php b/db_postgresql.php index afac834..14eb382 100644 --- a/db_postgresql.php +++ b/db_postgresql.php @@ -131,7 +131,6 @@ class DB_PostgreSQL extends DB_Abstract */ function command_pg_connect($server, $user, $password, $database) { - $this->registry->check_isso_fields(get_class($this)); return pg_connect("host='$server' port={$this->port} user='$user' password='$password' dbname='$database'"); } @@ -150,7 +149,6 @@ class DB_PostgreSQL extends DB_Abstract */ function command_pg_pconnect($server, $user, $password, $database) { - $this->registry->check_isso_fields(get_class($this)); return pg_pconnect("host='$server' port={$this->port} user='$user' password='$password' dbname='$database'"); } diff --git a/kernel.php b/kernel.php index 1e27e78..6e7e3af 100644 --- a/kernel.php +++ b/kernel.php @@ -478,8 +478,6 @@ class ISSO */ function &load($framework, $asobject, $globalize = false) { - $this->check_isso_fields(null); - // set the object interlock if (!method_exists($GLOBALS['isso:callback'], 'load')) { diff --git a/printer.php b/printer.php index 4142473..dc7a24e 100644 --- a/printer.php +++ b/printer.php @@ -299,8 +299,6 @@ JS; */ function page_start($actiontitle, $pageclass = null, $extra = '', $onload = false) { - $this->registry->check_isso_fields(get_class($this)); - if ($this->registry->debug AND isset($_GET['query'])) { ob_start(); @@ -311,7 +309,7 @@ JS; return; } - $title = sprintf(_('%1$s - %2$s - %3$s'), $this->registry->application, $this->realm, $actiontitle); + $title = sprintf(_('%1$s - %2$s - %3$s'), $this->registry->getApplication(), $this->realm, $actiontitle); echo "\n"; echo "language['langcode'] . "\" lang=\"" . $this->language['langcode'] . "\" dir=\"" . $this->language['direction'] . "\">\n"; diff --git a/template.php b/template.php index c14337e..0017e5e 100644 --- a/template.php +++ b/template.php @@ -361,8 +361,6 @@ class Template */ function _parse($template) { - $this->registry->check_isso_fields(get_class($this)); - $template = str_replace('"', '\"', $template); if (function_exists($this->pre_parse_hook)) -- 2.43.5