Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Commit

Permalink
Merge commit '9603337' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed May 15, 2014
2 parents a3db7d7 + 9603337 commit 99cbd41
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fmn/lib/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,11 @@ def remove_rule(self, session, code_path, **kw):
if r.code_path == code_path:
session.delete(r)
session.commit()

pref = self.preference
if pref:
self.notify(pref.openid, pref.context_name, "rules")

return

raise ValueError("No such rule found: %r" % code_path)
Expand Down

0 comments on commit 99cbd41

Please sign in to comment.