aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/calendar.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/models/calendar.rb b/app/models/calendar.rb
index e1181fe5f..54237e9cc 100644
--- a/app/models/calendar.rb
+++ b/app/models/calendar.rb
@@ -7,8 +7,6 @@ class Calendar < ActiveRecord::Base
after_initialize :init_dates_and_date_ranges
scope :contains_date, ->(date) { where('date ? = any (dates) OR date ? <@ any (date_ranges)', date, date) }
- scope :shared, -> { where(shared: true) }
- scope :by_organisation, ->(org_id) { where(organisation_id: org_id) }
def init_dates_and_date_ranges
self.dates ||= []