- تاریخ ثبتنام
- 2020-06-26
- نوشتهها
- 21,420
- راهحلها
- 27
- پسندها
- 3,264
- امتیازها
- 113
- سن
- 27
- محل سکونت
- England
- وب سایت
- xenforo.xyz
Hi everybody,
i have a public function with an API call. Everytime the api call is made, i want to set an log entry. This works fine, but i have no the issue that after every call the log entry is doubled in the database. I couldn't find out what's the problem. I do not have the call twice in the code.
Has someone a hint what is wrong or where i can take a look? Its my first XF2 add-on and in the learning phase..
This is the function i build:
PHP:
i have a public function with an API call. Everytime the api call is made, i want to set an log entry. This works fine, but i have no the issue that after every call the log entry is doubled in the database. I couldn't find out what's the problem. I do not have the call twice in the code.
Has someone a hint what is wrong or where i can take a look? Its my first XF2 add-on and in the learning phase..
This is the function i build:
PHP:
public function...
نام موضوع : LogEntry double instead single