renaming blog variable (formerly SAP)

This commit is contained in:
lutranf
2014-08-29 10:40:25 +02:00
parent 53ef6ba786
commit 53e1684af5
2 changed files with 2 additions and 2 deletions

View File

@@ -353,7 +353,7 @@ class Databap extends PhpObject
$this->addUser('test', 'test', 'test', 'test@test.com'); $this->addUser('test', 'test', 'test', 'test@test.com');
//Write the SAP blog parser bash script to main folder //Write the SAP blog parser bash script to main folder
@file_put_contents('sap_website_parser.sh', "#!/bin/bash\n\n/usr/bin/php -f index.php a=external_access p=sap_blog auth_token=".$iAdminId.'_'.$this->generateExternalAccessToken($iAdminId)); @file_put_contents('sap_website_parser.sh', "#!/bin/bash\n\n/usr/bin/php -f index.php a=external_access p=blogs auth_token=".$iAdminId.'_'.str_replace('$', '\$', $this->generateExternalAccessToken($iAdminId)));
} }
private function setUserId($iUserId) private function setUserId($iUserId)

View File

@@ -225,7 +225,7 @@ elseif($bUserOk && $sAction==Databap::EXT_ACCESS)
{ {
switch($sPage) switch($sPage)
{ {
case 'sap_blog': //Syncing SAP BW Blog with database & spreading the news on chat case 'blogs': //Syncing Blogs with database & spreading the news on chat
$sResult = $oDatabap->syncSapBlog(); $sResult = $oDatabap->syncSapBlog();
break; break;
} }