function deletePhoto($photoId) {
        $photos = new Zend_Gdata_Photos($this->client);
        
        $photoQuery = new Zend_Gdata_Photos_PhotoQuery;
        $photoQuery->setUser($this->user);
        $photoQuery->setAlbumId($this->album);
        $photoQuery->setPhotoId($photoId);
        $photoQuery->setType('entry');
       
        $entry = $photos->getPhotoEntry($photoQuery);
        
        $photos->deletePhotoEntry($entry, true);
    }
function deletePhoto($photoId) {
        $photos = new Zend_Gdata_Photos($this->client);
        
        $photoQuery = new Zend_Gdata_Photos_PhotoQuery;
        $photoQuery->setUser($this->user);
        $photoQuery->setAlbumId($this->album);
        $photoQuery->setPhotoId($photoId);
        $photoQuery->setType('entry');
       
        $entry = $photos->getPhotoEntry($photoQuery);
        
        $photos->deletePhotoEntry($entry, true);
    }
function deletePhoto ( $ photoId ) { $ photos = new Zend_Gdata_Photos ( $ this -> client ) ; $ photoQuery = new Zend_Gdata_Photos_PhotoQuery ; $ photoQuery -> setUser ( $ this -> user ) ; $ photoQuery -> setAlbumId ( $ this -> album ) ; $ photoQuery -> setPhotoId ( $ photoId ) ; $ photoQuery -> setType ( 'entry' ) ; $ entry = $ photos -> getPhotoEntry ( $ photoQuery ) ; $ photos -> deletePhotoEntry ( $ entry , true ) ; }
Deletes the specified photo

@param  Zend_Http_Client $client  The authenticated client
@param  string           $user    The user's account name
@param  integer          $albumId The album's id
@param  integer          $photoId The photo's id
@return void
Deletes the specified photo