Browse Source

rename site-settings function to get-site-settings in nera package.

The function call 'site-settings' was clashing with class and package
name 'site-settings'.
stable
Craig Oates 2 years ago
parent
commit
8106b5a5c5
  1. 6
      src/nera.lisp

6
src/nera.lisp

@ -15,7 +15,7 @@
#:get-user-id
#:delete-user
#:create-user
#:site-settings
#:get-site-settings
#:migrate-all
#:get-all-users
#:update-enable-sign-on-settings
@ -178,7 +178,7 @@
(mito:delete-dao (mito:find-dao 'page :slug slug)))
(t nil))))
(defun site-settings ()
(defun get-site-settings ()
"Gets the settings for the website from the database."
(with-connection (db)
(mito:find-dao 'site-settings)))
@ -227,4 +227,4 @@
(defun system-data ()
"Gets the website's settings and nav-menu from database."
(list (site-settings) (nav-menu-slugs)))
(list (get-site-settings) (nav-menu-slugs)))

Loading…
Cancel
Save