Local_group and User are now assumed to be in same namespace

This commit is contained in:
Mikael Nordfeldth
2013-10-17 01:16:03 +02:00
parent cd0e3f1fa4
commit 6ed66d9c76
15 changed files with 200 additions and 342 deletions

View File

@@ -17,9 +17,7 @@
* 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.
@@ -46,7 +44,7 @@ class PluginQueueHandler extends QueueHandler
{
try {
Event::handle('HandleQueuedNotice', array(&$notice));
} catch (UserNoProfileException $unp) {
} catch (NoProfileException $unp) {
// We can't do anything about this, so just skip
return true;
}