From: Sam Reed Date: Wed, 15 Dec 2010 11:30:54 +0000 (+0000) Subject: Remove public from interface defintion, as decleration in an interface is not valid X-Git-Tag: 1.31.0-rc.0~33288 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=7bff03b3adc6dfaf8aa33c40e61d86a6876a04bf;p=lhc%2Fweb%2Fwiklou.git Remove public from interface defintion, as decleration in an interface is not valid --- 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 ); }