Some unnecessary/faulty includes fixed in DM plugin

This commit is contained in:
Mikael Nordfeldth
2014-11-07 16:33:19 +01:00
parent 48ba963ddd
commit 33e7562210
6 changed files with 173 additions and 15 deletions

View File

@@ -26,11 +26,8 @@
* @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0
* @link http://status.net/
*/
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
require_once INSTALLDIR.'/lib/mailbox.php';
if (!defined('GNUSOCIAL')) { exit(1); }
/**
* action handler for message outbox