added admin uid
This commit is contained in:
@@ -219,8 +219,9 @@ long RefreshPromoActivities(CVars in, CVars &out){
|
|||||||
if (resF != NULL && pgsql_num_rows(resF) > 0) {
|
if (resF != NULL && pgsql_num_rows(resF) > 0) {
|
||||||
pgsql_query("UPDATE promo_member SET updated = now(), status=2 WHERE id = %lu ", rec["id"].Long()); // mo
|
pgsql_query("UPDATE promo_member SET updated = now(), status=2 WHERE id = %lu ", rec["id"].Long()); // mo
|
||||||
CVars yp;
|
CVars yp;
|
||||||
yp["category"] ="SIGNUP";
|
yp["category"] ="SIGNUP"; yp["category"].set_valid( true );
|
||||||
yp["description"] = "Sign up was started";
|
yp["admin_id"] = rec["admin_id"]; yp["admin_id"].set_valid( true );
|
||||||
|
yp["description"] = "Sign up was started"; yp["description"].set_valid( true );
|
||||||
RegisterPromoAction(yp);
|
RegisterPromoAction(yp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -285,6 +286,7 @@ long RegisterPromoPoint(CVars in){
|
|||||||
|
|
||||||
CVars yp;
|
CVars yp;
|
||||||
yp["category"] ="SIGNUP_POINT";
|
yp["category"] ="SIGNUP_POINT";
|
||||||
|
yp["admin_id"] = in["admin_id"]; yp["admin_id"].set_valid( true );
|
||||||
yp["description"] = "Sign up was completed";
|
yp["description"] = "Sign up was completed";
|
||||||
RegisterPromoAction(yp);
|
RegisterPromoAction(yp);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user