Rename constructors to __constructor
[lhc/web/wiklou.git] / includes / Feed.php
index 5c14865..59b6d83 100644 (file)
@@ -45,7 +45,7 @@ class FeedItem {
        /**#@+
         * @todo document
         */
-       function FeedItem( $Title, $Description, $Url, $Date = '', $Author = '', $Comments = '' ) {
+       function __construct( $Title, $Description, $Url, $Date = '', $Author = '', $Comments = '' ) {
                $this->Title = $Title;
                $this->Description = $Description;
                $this->Url = $Url;