rtCamp/rtMedia — pull request #494 by UmeshSingla (2013-12-09 06:54:51+00:00)
Title: Fix for php notice on Album delete success

In case of album deletion, on success wp_delete_post returns a object and checking it against 0 for failure generates Notice: Object of class stdClass could not be converted to int in /var/www/rtmediatest.local/htdocs/wp-content/plugins/buddypress-media/app/main/controllers/media/RTMediaMedia.php on line 286.

As on failure function returns false so we can just check if(!$status) { return false; }