Shout: Make sure we have an initialized application instance
authorBen Klang <ben@alkaloid.net>
Thu, 18 Mar 2010 03:14:01 +0000 (23:14 -0400)
committerBen Klang <ben@alkaloid.net>
Thu, 18 Mar 2010 03:14:01 +0000 (23:14 -0400)
shout/lib/Shout.php

index d671757..a83d471 100644 (file)
@@ -219,6 +219,7 @@ class Shout
 
     static public function getRecordings($account)
     {
+        $shout = $GLOBALS['registry']->getApiInstance('shout', 'application');
         $rlist = $shout->vfs->listFolder($account);
 
         // In Asterisk, filenames the same basename and different extension are