summaryrefslogtreecommitdiff
path: root/plugins/OpenID
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-16 15:36:30 -0800
committerBrion Vibber <brion@pobox.com>2009-11-16 15:36:30 -0800
commit6f9b90921188f477f8b8224c12d6ea7e8b3cc1d3 (patch)
treec086820fc04f212fd8cbd580563623999adc89e7 /plugins/OpenID
parenta99198ba94766dcfb58d4cc16358dc1438df422a (diff)
Fix for PHP spewing notices from commit a373d07ae00b878f47970f2e4a7d86c6ec3a65cf
Please test with error_reporting set to E_ALL! Classnames and function names aren't first-class objects in PHP and need to be referenced as strings here. :(
Diffstat (limited to 'plugins/OpenID')
-rw-r--r--plugins/OpenID/OpenIDPlugin.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OpenID/OpenIDPlugin.php b/plugins/OpenID/OpenIDPlugin.php
index 88e23ea3e..6dd8a3f5a 100644
--- a/plugins/OpenID/OpenIDPlugin.php
+++ b/plugins/OpenID/OpenIDPlugin.php
@@ -281,8 +281,8 @@ class OpenIDPlugin extends Plugin
function onCheckSchema() {
$schema = Schema::get();
- $schema->ensureDataObject(User_openid);
- $schema->ensureDataObject(User_openid_trustroot);
+ $schema->ensureDataObject('User_openid');
+ $schema->ensureDataObject('User_openid_trustroot');
return true;
}