changeset 1106 | e14b0995cf29 |
parent 1095 | 0122dc66e5d2 |
child 1115 | 0a723ff3d27c |
1105:326cd1181c03 | 1106:e14b0995cf29 |
---|---|
67 if (name == 'is_featured') and (entity.is_featured != value): |
67 if (name == 'is_featured') and (entity.is_featured != value): |
68 sidebar.flush() |
68 sidebar.flush() |
69 |
69 |
70 return True |
70 return True |
71 |
71 |
72 def _onCreate(self, entity): |
|
73 """Flush the sidebar cache when a new active role entity has been created. |
|
74 """ |
|
75 |
|
76 if entity.is_featured: |
|
77 sidebar.flush() |
|
78 |
|
79 |
72 |
80 logic = Logic() |
73 logic = Logic() |