* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('STATUSNET') && !defined('LACONICA')) {
- exit(1);
-}
+if (!defined('GNUSOCIAL')) { exit(1); }
/**
* Queue handler for letting plugins handle stuff.
{
try {
Event::handle('HandleQueuedNotice', array(&$notice));
- } catch (UserNoProfileException $unp) {
+ } catch (NoProfileException $unp) {
// We can't do anything about this, so just skip
return true;
}