Index: trunk/extensions/Contributionseditcount/Contributionseditcount.php |
— | — | @@ -43,6 +43,7 @@ |
44 | 44 | } |
45 | 45 | } |
46 | 46 | |
47 | | - new PersistentObject( new Contributionseditcount ); |
| 47 | + // Establish a singleton. |
| 48 | + new Contributionseditcount; |
48 | 49 | } |
49 | 50 | ?> |
Index: trunk/extensions/PageCSS/PageCSS.php |
— | — | @@ -47,5 +47,6 @@ |
48 | 48 | } |
49 | 49 | } |
50 | 50 | |
51 | | - new PersistentObject( new CssHook ); |
| 51 | + // Establish a singleton. |
| 52 | + new CssHook; |
52 | 53 | } |
Index: trunk/extensions/HTTPRedirect.php |
— | — | @@ -34,5 +34,6 @@ |
35 | 35 | } |
36 | 36 | } |
37 | 37 | |
38 | | - new PersistentObject( new HTTPRedirect ); |
| 38 | + // Establish a singleton. |
| 39 | + new HTTPRedirect; |
39 | 40 | } |
Index: trunk/extensions/Tidy.php |
— | — | @@ -79,5 +79,6 @@ |
80 | 80 | } |
81 | 81 | } |
82 | 82 | |
83 | | - new PersistentObject( new TidyAction ); |
| 83 | + // Establish a singleton. |
| 84 | + new TidyAction; |
84 | 85 | } |
Index: trunk/extensions/Special_talk.php |
— | — | @@ -49,5 +49,6 @@ |
50 | 50 | } |
51 | 51 | } |
52 | 52 | |
53 | | - new PersistentObject( new SpecialTalk ); |
| 53 | + // Establish a singleton. |
| 54 | + new SpecialTalk; |
54 | 55 | } |
Index: trunk/extensions/Purge.php |
— | — | @@ -50,5 +50,6 @@ |
51 | 51 | } |
52 | 52 | } |
53 | 53 | |
54 | | - new PersistentObject( new PurgeAction ); |
| 54 | + // Establish a singleton. |
| 55 | + new PurgeAction; |
55 | 56 | } |