File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
packages/core/src/Entities/Items/Draft Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ public function checkAndDeleteIfAllTranslationsDeleted(): void
140140 public function publish (): void
141141 {
142142 $ this ->translation_status = 'published ' ;
143- $ this ->handleSchedulingDates ();
144143 }
145144
146145 /**
@@ -149,7 +148,6 @@ public function publish(): void
149148 public function unpublish (): void
150149 {
151150 $ this ->translation_status = 'draft ' ;
152- $ this ->handleSchedulingDates ();
153151 }
154152
155153 /**
@@ -161,7 +159,6 @@ public function scheduleForPublishing(?Carbon $publishAt = null): void
161159 if ($ publishAt ) {
162160 $ this ->to_publish_at = $ publishAt ;
163161 }
164- $ this ->handleSchedulingDates ();
165162 }
166163
167164 /**
@@ -170,7 +167,6 @@ public function scheduleForPublishing(?Carbon $publishAt = null): void
170167 public function setToWaiting (): void
171168 {
172169 $ this ->translation_status = 'waiting ' ;
173- $ this ->handleSchedulingDates ();
174170 }
175171
176172 /**
@@ -179,7 +175,6 @@ public function setToWaiting(): void
179175 public function setToPrivate (): void
180176 {
181177 $ this ->translation_status = 'privat ' ;
182- $ this ->handleSchedulingDates ();
183178 }
184179
185180 /**
You can’t perform that action at this time.
0 commit comments