mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Fixed #181 - Connecting to Patreon sits at "Waiting for Patreon..."
When I added transactions to everything a while back I neglected to notice that the Patreon initialize echoes some JavaScript and then dies. The die() was rolling back the transaction where the token and stuff got inserted.
This commit is contained in:
parent
62970192ef
commit
f0fe1b1760
@ -43,6 +43,10 @@ class patreon extends external_api {
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo '<html><head><title></title></head><body><script type="text/javascript">window.close();</script></body>';
|
echo '<html><head><title></title></head><body><script type="text/javascript">window.close();</script></body>';
|
||||||
|
|
||||||
|
// Need to commit the transaction so the stuff gets saved.
|
||||||
|
$this->database->commit_transaction();
|
||||||
|
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user