View | Details | Raw Unified | Return to bug 42526
Collapse All | Expand All

(-)a/management/univention-directory-manager-modules/modules/univention/admin/handlers/__init__.py (+3 lines)
 Lines 342-347   def move(self, newdn, ignore_license=0, temporary_ou=None): Link Here 
342
				or univention.admin.modules.supports(self.module,'subtree_move')): # this should have been checked before, but I want to be sure...
342
				or univention.admin.modules.supports(self.module,'subtree_move')): # this should have been checked before, but I want to be sure...
343
			raise univention.admin.uexceptions.invalidOperation
343
			raise univention.admin.uexceptions.invalidOperation
344
344
345
		if self.lo.compare_dn(self.dn, self.lo.lo.lo.whoami_s()):
346
			raise univention.admin.uexceptions.invalidOperation(_('Cannot move own object.'))
347
345
		if not self.exists():
348
		if not self.exists():
346
			raise univention.admin.uexceptions.noObject
349
			raise univention.admin.uexceptions.noObject
347
350

Return to bug 42526