Modify ↓
#808 closed defect (worksforme)
database should be addes as argument to the macros
| Reported by: | tonib | Owned by: | Jonas Borgström |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | wiki system | Version: | 0.7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
When writing macros you also want to be able to access the database.
Now you have to create a new connection, but I think it is better if the current connection was passed as argument.
Any reason the database connection isnt in the Env?
Cheers,
Toni
Attachments (0)
Note:
See TracTickets
for help on using tickets.



Perhaps it should be a property in the future, but the above method will work.