forked from friendica/friendica-addons
Merge pull request #266 from annando/1505-gpluspost-path
gpluspost: The path to postToGooglePlus.php was wrong
This commit is contained in:
commit
7c493e88bc
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ function gpluspost_settings(&$a,&$s) {
|
||||||
/*
|
/*
|
||||||
// To-Do: Option to check the credentials if requested
|
// To-Do: Option to check the credentials if requested
|
||||||
if (($username != "") AND ($password != "")) {
|
if (($username != "") AND ($password != "")) {
|
||||||
require_once("addon/googleplus/postToGooglePlus.php");
|
require_once("addon/gpluspost/postToGooglePlus.php");
|
||||||
$loginError = doConnectToGooglePlus2($username, $password);
|
$loginError = doConnectToGooglePlus2($username, $password);
|
||||||
if ($loginError)
|
if ($loginError)
|
||||||
$s .= '<p>Login Error. Please enter the correct credentials.</p>';
|
$s .= '<p>Login Error. Please enter the correct credentials.</p>';
|
||||||
|
@ -348,7 +348,7 @@ function gpluspost_queue_hook(&$a,&$b) {
|
||||||
$success = false;
|
$success = false;
|
||||||
|
|
||||||
if($username && $password) {
|
if($username && $password) {
|
||||||
require_once("addon/googleplus/postToGooglePlus.php");
|
require_once("addon/gpluspost/postToGooglePlus.php");
|
||||||
|
|
||||||
logger('gpluspost_queue: able to post for user '.$username);
|
logger('gpluspost_queue: able to post for user '.$username);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue