From a30ea4568ff4b2a324a8a6a8870d1d72fa9ddab3 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 8 Oct 2010 11:23:53 -0700 Subject: Normalize execution guards in OpenID plugin files; avoids annoying fatal errors when .php files get spidered. --- plugins/OpenID/openidsettings.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/OpenID/openidsettings.php') diff --git a/plugins/OpenID/openidsettings.php b/plugins/OpenID/openidsettings.php index 505e7d0ee..b7d5bd084 100644 --- a/plugins/OpenID/openidsettings.php +++ b/plugins/OpenID/openidsettings.php @@ -27,11 +27,10 @@ * @link http://status.net/ */ -if (!defined('STATUSNET') && !defined('LACONICA')) { +if (!defined('STATUSNET')) { exit(1); } -require_once INSTALLDIR.'/lib/accountsettingsaction.php'; require_once INSTALLDIR.'/plugins/OpenID/openid.php'; /** -- cgit v1.2.3-54-g00ecf