Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gnu-social
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
194
Issues
194
List
Boards
Labels
Milestones
Merge Requests
12
Merge Requests
12
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gnu.io
gnu-social
Commits
7f6fdb52
Commit
7f6fdb52
authored
Mar 25, 2010
by
Evan Prodromou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove debugging calls
parent
69722257
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
plugins/OpenID/finishopenidlogin.php
plugins/OpenID/finishopenidlogin.php
+0
-1
plugins/OpenID/openid.php
plugins/OpenID/openid.php
+1
-5
plugins/OpenID/openidtrust.php
plugins/OpenID/openidtrust.php
+2
-3
No files found.
plugins/OpenID/finishopenidlogin.php
View file @
7f6fdb52
...
...
@@ -48,7 +48,6 @@ class FinishopenidloginAction extends Action
}
else
if
(
$this
->
arg
(
'connect'
))
{
$this
->
connectUser
();
}
else
{
common_debug
(
print_r
(
$this
->
args
,
true
),
__FILE__
);
$this
->
showForm
(
_m
(
'Something weird happened.'
),
$this
->
trimmed
(
'newname'
));
}
...
...
plugins/OpenID/openid.php
View file @
7f6fdb52
...
...
@@ -94,7 +94,6 @@ function oid_link_user($id, $canonical, $display)
if
(
!
$oid
->
insert
())
{
$err
=
PEAR
::
getStaticProperty
(
'DB_DataObject'
,
'lastError'
);
common_debug
(
'DB error '
.
$err
->
code
.
': '
.
$err
->
message
,
__FILE__
);
return
false
;
}
...
...
@@ -119,13 +118,10 @@ function oid_check_immediate($openid_url, $backto=null)
unset
(
$args
[
'action'
]);
$backto
=
common_local_url
(
$action
,
$args
);
}
common_debug
(
'going back to "'
.
$backto
.
'"'
,
__FILE__
);
common_ensure_session
();
$_SESSION
[
'openid_immediate_backto'
]
=
$backto
;
common_debug
(
'passed-in variable is "'
.
$backto
.
'"'
,
__FILE__
);
common_debug
(
'session variable is "'
.
$_SESSION
[
'openid_immediate_backto'
]
.
'"'
,
__FILE__
);
oid_authenticate
(
$openid_url
,
'finishimmediate'
,
...
...
@@ -281,7 +277,7 @@ class AutosubmitAction extends Action
{
$this
->
raw
(
$this
->
form_html
);
}
function
showScripts
()
{
parent
::
showScripts
();
...
...
plugins/OpenID/openidtrust.php
View file @
7f6fdb52
...
...
@@ -71,7 +71,7 @@ class OpenidtrustAction extends Action
}
return
true
;
}
function
handle
(
$args
)
{
parent
::
handle
(
$args
);
...
...
@@ -96,7 +96,6 @@ class OpenidtrustAction extends Action
$user_openid_trustroot
->
created
=
DB_DataObject_Cast
::
dateTime
();
if
(
!
$user_openid_trustroot
->
insert
())
{
$err
=
PEAR
::
getStaticProperty
(
'DB_DataObject'
,
'lastError'
);
common_debug
(
'DB error '
.
$err
->
code
.
': '
.
$err
->
message
,
__FILE__
);
}
common_redirect
(
$this
->
allowUrl
,
$code
=
302
);
}
else
{
...
...
@@ -135,7 +134,7 @@ class OpenidtrustAction extends Action
$this
->
elementStart
(
'fieldset'
);
$this
->
submit
(
'allow'
,
_m
(
'Continue'
));
$this
->
submit
(
'deny'
,
_m
(
'Cancel'
));
$this
->
elementEnd
(
'fieldset'
);
$this
->
elementEnd
(
'form'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment