Opened 13 years ago
Closed 13 years ago
#3439 closed enhancement (fixed)
require_once instead of require
Reported by: | slaFFik | Owned by: | slaFFik |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | normal | Version: | 1.5 |
Component: | Toolbar & Notifications | Keywords: | has-patch |
Cc: |
Description
Is it possible to use require_once instead of require for including bp-...-notification.php files?
See patch attached.
I'm adding messages to db in foreach (in BP Default Data), so every time appropriate function "require"s that file - and this produces error, as you understand.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
How about loading the notifications file in BP_Messages_Component::includes()?