summaryrefslogtreecommitdiff
path: root/plugins/OpenID/openidtrust.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-08 11:23:53 -0700
committerBrion Vibber <brion@pobox.com>2010-10-08 11:23:53 -0700
commita30ea4568ff4b2a324a8a6a8870d1d72fa9ddab3 (patch)
tree1093590e54c15396cd6d06dc1bc0ac28713bada1 /plugins/OpenID/openidtrust.php
parent5fe59322bc9e2be876952c29a52ff43513f46463 (diff)
Normalize execution guards in OpenID plugin files; avoids annoying fatal errors when .php files get spidered.
Diffstat (limited to 'plugins/OpenID/openidtrust.php')
-rw-r--r--plugins/OpenID/openidtrust.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/OpenID/openidtrust.php b/plugins/OpenID/openidtrust.php
index ed6ca73a4..89f3150f6 100644
--- a/plugins/OpenID/openidtrust.php
+++ b/plugins/OpenID/openidtrust.php
@@ -17,10 +17,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
+if (!defined('STATUSNET')) {
+ exit(1);
+}
require_once INSTALLDIR.'/plugins/OpenID/openid.php';
-require_once(INSTALLDIR.'/plugins/OpenID/User_openid_trustroot.php');
class OpenidtrustAction extends Action
{