Index: trunk/phase3/includes/LocalisationCache.php |
— | — | @@ -729,24 +729,24 @@ |
730 | 730 | * @param $code Language code |
731 | 731 | * @param $key Cache key |
732 | 732 | */ |
733 | | - public function get( $code, $key ); |
| 733 | + function get( $code, $key ); |
734 | 734 | |
735 | 735 | /** |
736 | 736 | * Start a write transaction. |
737 | 737 | * @param $code Language code |
738 | 738 | */ |
739 | | - public function startWrite( $code ); |
| 739 | + function startWrite( $code ); |
740 | 740 | |
741 | 741 | /** |
742 | 742 | * Finish a write transaction. |
743 | 743 | */ |
744 | | - public function finishWrite(); |
| 744 | + function finishWrite(); |
745 | 745 | |
746 | 746 | /** |
747 | 747 | * Set a key to a given value. startWrite() must be called before this |
748 | 748 | * is called, and finishWrite() must be called afterwards. |
749 | 749 | */ |
750 | | - public function set( $key, $value ); |
| 750 | + function set( $key, $value ); |
751 | 751 | |
752 | 752 | } |
753 | 753 | |
Index: trunk/phase3/includes/HistoryBlob.php |
— | — | @@ -14,14 +14,14 @@ |
15 | 15 | * |
16 | 16 | * @return String: the key for getItem() |
17 | 17 | */ |
18 | | - public function addItem( $text ); |
| 18 | + function addItem( $text ); |
19 | 19 | |
20 | 20 | /** |
21 | 21 | * Get item by key, or false if the key is not present |
22 | 22 | * |
23 | 23 | * @return String or false |
24 | 24 | */ |
25 | | - public function getItem( $key ); |
| 25 | + function getItem( $key ); |
26 | 26 | |
27 | 27 | /** |
28 | 28 | * Set the "default text" |
— | — | @@ -31,7 +31,7 @@ |
32 | 32 | * |
33 | 33 | * Default text is not required for two-part external storage URLs. |
34 | 34 | */ |
35 | | - public function setText( $text ); |
| 35 | + function setText( $text ); |
36 | 36 | |
37 | 37 | /** |
38 | 38 | * Get default text. This is called from Revision::getRevisionText() |