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

@@ -28,11 +28,7 @@
* @link http://status.net/
*/
if (!defined('STATUSNET') && !defined('LACONICA')) {
exit(1);
}
require_once INSTALLDIR.'/lib/form.php';
if (!defined('GNUSOCIAL')) { exit(1); }
/**
* Form for posting a direct message