mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
ref
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user