From d3f5d5d1ff5a730d5c268456015fee36a7dc5bff Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Wed, 25 Feb 2015 17:55:11 +0100 Subject: Server Upgrade: Remove unused PRE_SCHEMA_UPDATE This is not used anymore. Ticket: https://fedorahosted.org/freeipa/ticket/4904 Reviewed-By: David Kupka --- ipaserver/install/ldapupdate.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'ipaserver/install/ldapupdate.py') diff --git a/ipaserver/install/ldapupdate.py b/ipaserver/install/ldapupdate.py index 47f0399b9..53d5407d5 100644 --- a/ipaserver/install/ldapupdate.py +++ b/ipaserver/install/ldapupdate.py @@ -42,8 +42,7 @@ from ipalib import api from ipaplatform.paths import paths from ipapython.dn import DN from ipapython.ipa_log_manager import * -from ipaserver.install.plugins import (PRE_UPDATE, POST_UPDATE, - PRE_SCHEMA_UPDATE) +from ipaserver.install.plugins import (PRE_UPDATE, POST_UPDATE) from ipaserver.plugins import ldap2 UPDATES_DIR=paths.UPDATES_DIR @@ -803,18 +802,6 @@ class LDAPUpdate: for dn, update in sorted_updates: self._delete_record(update) - def pre_schema_update(self, ordered=False): - """Execute the update before the LDPA schema is updated. - """ - if self.plugins: - self.info('PRE_SCHEMA_UPDATE') - all_updates = {} - updates = api.Backend.updateclient.update(PRE_SCHEMA_UPDATE, self.dm_password, self.ldapi, self.live_run) - self.merge_updates(all_updates, updates) - self._run_updates(all_updates) - - return self.modified - def update(self, files, ordered=False): """Execute the update. files is a list of the update files to use. -- cgit