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) {
|
||||
pgsql_query("UPDATE promo_member SET updated = now(), status=2 WHERE id = %lu ", rec["id"].Long()); // mo
|
||||
CVars yp;
|
||||
yp["category"] ="SIGNUP";
|
||||
yp["description"] = "Sign up was started";
|
||||
yp["category"] ="SIGNUP"; yp["category"].set_valid( true );
|
||||
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);
|
||||
}
|
||||
}
|
||||
@@ -285,6 +286,7 @@ long RegisterPromoPoint(CVars in){
|
||||
|
||||
CVars yp;
|
||||
yp["category"] ="SIGNUP_POINT";
|
||||
yp["admin_id"] = in["admin_id"]; yp["admin_id"].set_valid( true );
|
||||
yp["description"] = "Sign up was completed";
|
||||
RegisterPromoAction(yp);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user