plugin_browserid: Removed some depedencies to OpenID (copy and paste
problem)
This commit is contained in:
parent
5a413f29a9
commit
87338c49b6
2 changed files with 10 additions and 3 deletions
7
serendipity_event_browserid/ChangeLog
Normal file
7
serendipity_event_browserid/ChangeLog
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
Version 1.1 (brockhaus)
|
||||||
|
---------------------------------
|
||||||
|
* Removed some depedencies to OpenID (copy and paste problem)
|
||||||
|
|
||||||
|
Version 1.0 (brockhaus)
|
||||||
|
---------------------------------
|
||||||
|
* Initial working release
|
|
@ -17,7 +17,7 @@ class serendipity_event_browserid extends serendipity_event
|
||||||
$propbag->add('description', PLUGIN_BROWSERID_DESC);
|
$propbag->add('description', PLUGIN_BROWSERID_DESC);
|
||||||
$propbag->add('stackable', false);
|
$propbag->add('stackable', false);
|
||||||
$propbag->add('author', 'Grischa Brockhaus');
|
$propbag->add('author', 'Grischa Brockhaus');
|
||||||
$propbag->add('version', '1.0');
|
$propbag->add('version', '1.1');
|
||||||
$propbag->add('requirements', array(
|
$propbag->add('requirements', array(
|
||||||
'serendipity' => '1.6',
|
'serendipity' => '1.6',
|
||||||
'smarty' => '2.6.7',
|
'smarty' => '2.6.7',
|
||||||
|
@ -50,7 +50,7 @@ class serendipity_event_browserid extends serendipity_event
|
||||||
}
|
}
|
||||||
|
|
||||||
function generate_content(&$title) {
|
function generate_content(&$title) {
|
||||||
$title = PLUGIN_OPENID_NAME;
|
$title = PLUGIN_BROWSERID_NAME;
|
||||||
}
|
}
|
||||||
|
|
||||||
function event_hook($event, &$bag, &$eventData, $addData = null) {
|
function event_hook($event, &$bag, &$eventData, $addData = null) {
|
||||||
|
@ -142,7 +142,7 @@ class serendipity_event_browserid extends serendipity_event
|
||||||
$_SESSION['serendipityUserlevel'] = $serendipity['serendipityUserlevel'] = $row['userlevel'];
|
$_SESSION['serendipityUserlevel'] = $serendipity['serendipityUserlevel'] = $row['userlevel'];
|
||||||
$_SESSION['serendipityAuthedUser'] = $serendipity['serendipityAuthedUser'] = true;
|
$_SESSION['serendipityAuthedUser'] = $serendipity['serendipityAuthedUser'] = true;
|
||||||
$_SESSION['serendipityRightPublish']= $serendipity['serendipityRightPublish'] = $row['right_publish'];
|
$_SESSION['serendipityRightPublish']= $serendipity['serendipityRightPublish'] = $row['right_publish'];
|
||||||
$_SESSION['serendipityOpenID'] = true;
|
$_SESSION['serendipityBrowserID'] = true;
|
||||||
serendipity_load_configuration($serendipity['authorid']);
|
serendipity_load_configuration($serendipity['authorid']);
|
||||||
}
|
}
|
||||||
else { // No user found for that email!
|
else { // No user found for that email!
|
||||||
|
|
Loading…
Reference in a new issue