librefm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Librefm-commits] [1648] don't use PEAR


From: Clint Adams
Subject: [Librefm-commits] [1648] don't use PEAR
Date: Sat, 16 May 2009 00:54:13 +0000

Revision: 1648
          http://svn.sv.gnu.org/viewvc/?view=rev&root=librefm&revision=1648
Author:   clint
Date:     2009-05-16 00:54:13 +0000 (Sat, 16 May 2009)
Log Message:
-----------
don't use PEAR

Modified Paths:
--------------
    branches/stable/nixtape/index.php

Modified: branches/stable/nixtape/index.php
===================================================================
--- branches/stable/nixtape/index.php   2009-05-16 00:50:51 UTC (rev 1647)
+++ branches/stable/nixtape/index.php   2009-05-16 00:54:13 UTC (rev 1648)
@@ -26,17 +26,17 @@
 require_once('data/TagCloud.php');
 
 $aTagCloud = TagCloud::GenerateTagCloud('Free_Scrobbles', 'artist');
-if (!PEAR::isError ($aTagCloud)) {
+if (!aTagCloud) {
        $smarty->assign('tagcloud', $aTagCloud);
 }
 
 $aLastScrobbles = Server::getRecentScrobbles(20);
-if (!PEAR::isError ($aLastScrobbles)) {
+if (!$aLastScrobbles) {
        $smarty->assign('recenttracks', $aLastScrobbles);
 }
 
 $aNowPlaying = Server::getNowPlaying(10);
-if (!PEAR::isError ($aNowPlaying)) {
+if (!$aNowPlaying) {
        $smarty->assign('nowplaying', $aNowPlaying);
 }
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]