exit(1);
}
+require_once INSTALLDIR . '/lib/applicationlist.php';
require_once INSTALLDIR . '/lib/apioauthstore.php';
/**
*
* @return string Title of the page
*/
-
function title()
{
// TRANS: Title for OAuth connection settings.
*
* @return instructions for use
*/
-
function getInstructions()
{
// TRANS: Instructions for OAuth connection settings.
$token = $this->trimmed('token');
if (!$token || $token != common_session_token()) {
+ // TRANS: Client error displayed when the session token does not match or is not given.
$this->showForm(_('There was a problem with your session token. '.
'Try again, please.'));
return;