Home banners
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
#include "history.h"
|
||||
|
||||
#include "jobs.h"
|
||||
#include "reco_engine.h" //error in file name
|
||||
|
||||
#define CREATE_BY_EMAIL 1000
|
||||
#define CREATE_BY_PHONE 2000
|
||||
@@ -431,6 +432,9 @@ long account_calls(CVars in, CVars &out) {
|
||||
case WRENCHBOARD_VERIFY_PENDING_LINK:
|
||||
return VerifyWrenchAccountLink( in, out);
|
||||
break;
|
||||
case WRENCHBOARD_ACCOUNT_HOMEBANNERS:
|
||||
return WrenchHomeBanners(in, out);
|
||||
break;
|
||||
}
|
||||
logfmt(logINFO, "/account_calls()");
|
||||
return ret;
|
||||
@@ -439,6 +443,8 @@ long account_calls(CVars in, CVars &out) {
|
||||
#define PHP_API_TRANSFER_COMPLETE 200
|
||||
|
||||
|
||||
|
||||
|
||||
long VerifyWrenchAccountLink(CVars in, CVars &out) {
|
||||
logfmt(logINFO, "VerifyWrenchAccountLink()");
|
||||
long ret = PHP_API_BAD_PARAM;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "cgi.h"
|
||||
#include "input.h"
|
||||
#include "wrenchboard_api.h"
|
||||
#include "reco_engine.h"
|
||||
#include "reco_engine.h" //error in file name
|
||||
#include "email.h"
|
||||
#include "safestring.h"
|
||||
#include <string>
|
||||
@@ -55,6 +55,11 @@ long recommendation_engine(long action , CVars in, CVars &out) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// also used from accounts
|
||||
long WrenchHomeBanners(CVars in, CVars &out) {
|
||||
out["status"] = "long WrenchHomeBanners(CVars in, CVars &out)";
|
||||
return 111;
|
||||
}
|
||||
|
||||
long sendOffersRecommendation( CVars in, CVars &out){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user