From 7bff03b3adc6dfaf8aa33c40e61d86a6876a04bf Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Wed, 15 Dec 2010 11:30:54 +0000 Subject: [PATCH] Remove public from interface defintion, as decleration in an interface is not valid --- includes/HistoryBlob.php | 6 +++--- includes/LocalisationCache.php | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/HistoryBlob.php b/includes/HistoryBlob.php index fe2b48bf4f..6e20b0f968 100644 --- a/includes/HistoryBlob.php +++ b/includes/HistoryBlob.php @@ -14,14 +14,14 @@ interface HistoryBlob * * @return String: the key for getItem() */ - public function addItem( $text ); + function addItem( $text ); /** * Get item by key, or false if the key is not present * * @return String or false */ - public function getItem( $key ); + function getItem( $key ); /** * Set the "default text" @@ -31,7 +31,7 @@ interface HistoryBlob * * Default text is not required for two-part external storage URLs. */ - public function setText( $text ); + function setText( $text ); /** * Get default text. This is called from Revision::getRevisionText() diff --git a/includes/LocalisationCache.php b/includes/LocalisationCache.php index 1253caaf90..f9dcd0042f 100644 --- a/includes/LocalisationCache.php +++ b/includes/LocalisationCache.php @@ -729,24 +729,24 @@ interface LCStore { * @param $code Language code * @param $key Cache key */ - public function get( $code, $key ); + function get( $code, $key ); /** * Start a write transaction. * @param $code Language code */ - public function startWrite( $code ); + function startWrite( $code ); /** * Finish a write transaction. */ - public function finishWrite(); + function finishWrite(); /** * Set a key to a given value. startWrite() must be called before this * is called, and finishWrite() must be called afterwards. */ - public function set( $key, $value ); + function set( $key, $value ); } -- 2.20.1