mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-05 23:18:53 -05:00
ref
This commit is contained in:
parent
5028fee83d
commit
cf6d9ae065
@ -916,7 +916,6 @@ def video_trim_task(self, trim_request_id):
|
||||
|
||||
target_media.produce_thumbnails_from_video()
|
||||
target_media.produce_sprite_from_video()
|
||||
target_media.update_search_vector()
|
||||
create_hls.delay(target_media.friendly_token)
|
||||
|
||||
trim_request.status = "success"
|
||||
@ -937,7 +936,6 @@ def video_trim_task(self, trim_request_id):
|
||||
|
||||
new_media.produce_thumbnails_from_video()
|
||||
new_media.produce_sprite_from_video()
|
||||
new_media.update_search_vector()
|
||||
create_hls.delay(new_media.friendly_token)
|
||||
|
||||
trim_request.status = "success"
|
||||
|
||||
@ -174,8 +174,6 @@ class User(AbstractUser):
|
||||
self.is_editor = False
|
||||
self.is_manager = False
|
||||
update_fields.extend(['is_superuser', 'is_staff', 'advancedUser', 'is_editor', 'is_manager'])
|
||||
# XYZ TODO: to confirm with Thorkild
|
||||
# return True
|
||||
|
||||
if update_fields:
|
||||
self.save(update_fields=update_fields)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user