]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/connectedappslist.php
Last type-hint is an array, added.
[quix0rs-gnu-social.git] / lib / connectedappslist.php
index 7e5eb7482cd91edf1c9d8188c5533bb9fe50c952..c2a27e75a83c72692068bf2e37ae02269be2dee6 100644 (file)
@@ -46,18 +46,14 @@ class ConnectedAppsList extends Widget
     /** Owner of this list */
     var $owner = null;
 
-    /** Action object using us. */
-    var $action = null;
-
-    function __construct($connection, $owner=null, $action=null)
+    function __construct($connection, Profile $owner, Action $out=null)
     {
-        parent::__construct($action);
+        parent::__construct($out);
 
         common_debug("ConnectedAppsList constructor");
 
         $this->connection = $connection;
-        $this->owner       = $owner;
-        $this->action      = $action;
+        $this->owner      = $owner;
     }
 
     /* Override this in subclasses. */