From 62e98ad47cc61745473907f407146cb56c0947c8 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 6 Aug 2004 22:30:47 +0000 Subject: [PATCH] Suppress some more warnings on separate execution of files. Shouldn't be anything exploitable, it's just annoying. --- includes/DatabasePostgreSQL.php | 2 ++ includes/DefaultSettings.php | 5 +++++ includes/Namespace.php | 3 +++ includes/OutputPage.php | 4 ++++ includes/Setup.php | 4 +++- includes/Skin.php | 4 ++++ includes/SpecialImport.php | 2 +- texvc.phtml | 2 +- 8 files changed, 23 insertions(+), 3 deletions(-) diff --git a/includes/DatabasePostgreSQL.php b/includes/DatabasePostgreSQL.php index af7d96e972..6ada5ed04d 100644 --- a/includes/DatabasePostgreSQL.php +++ b/includes/DatabasePostgreSQL.php @@ -14,6 +14,8 @@ # # Hashar +require_once( "Database.php" ); + class DatabasePgsql extends Database { var $mInsertId = NULL; diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index bd10946f8e..d9d64eb4ed 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -1,4 +1,6 @@ diff --git a/includes/Namespace.php b/includes/Namespace.php index a72d24adf7..bba5deb3df 100644 --- a/includes/Namespace.php +++ b/includes/Namespace.php @@ -1,4 +1,6 @@ diff --git a/includes/OutputPage.php b/includes/OutputPage.php index d0b55a4ff8..21fbe702c4 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -1,4 +1,6 @@ diff --git a/includes/Setup.php b/includes/Setup.php index 02ae3689c5..e898d1f7ec 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -1,4 +1,6 @@ diff --git a/includes/Skin.php b/includes/Skin.php index dbff5d63b2..ac21c370c8 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -1,4 +1,6 @@ diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index a11e65c837..1fc1eebba3 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -483,7 +483,7 @@ class WikiImporter { 'old_comment' => $this->getComment(), 'old_user' => intval( $user->getId() ), 'old_user_text' => $user->getName(), - 'old_timestamp' => $this->timestamp + 'old_timestamp' => $this->timestamp, 'inverse_timestamp' => wfInvertTimestamp( $this->timestamp ), 'old_minor_edit' => 0, 'old_flags' => '' diff --git a/texvc.phtml b/texvc.phtml index a47416ec4c..108dcbda63 100644 --- a/texvc.phtml +++ b/texvc.phtml @@ -13,7 +13,7 @@ print ">"; " ?> -