Annotate

mod_bookmarks/mod_bookmarks.lua @ 5160:8474a3b80200

mod_firewall: Fix 'is_admin' internal dependency rule #1797 (thanks diane) Looks like the boolean logic was inverted here. Instead, for now, simply check if is_admin is there. It is deprecated in trunk and was briefly removed before being brought back with a 'deprecated' warning as part of the new roles and permissions work. Making this dependency conditioned on the existence of the underlying function should make it work until it actually goes away for real.
author Kim Alvefur <zash@zash.se>
date Fri, 27 Jan 2023 23:06:25 +0100
parent 4886:cbe71ecb4677
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4886
cbe71ecb4677 mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 --% conflicts: mod_bookmarks
cbe71ecb4677 mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 module:log("info", "mod_bookmarks has been deprecated, now loading mod_bookmarks2")
cbe71ecb4677 mod_bookmarks: Add a stub that loads mod_bookmarks2
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3 module:depends("bookmarks2")