@@ -612,28 +612,6 @@ define(function (require, exports, module) {
612612 exports . trigger ( "documentSaved" , doc ) ;
613613 } ) ;
614614
615- /**
616- * @private
617- * Examine each preference key for migration of the working set files.
618- * If the key has a prefix of "files_/", then it is a working set files
619- * preference from old preference model.
620- *
621- * @param {string } key The key of the preference to be examined
622- * for migration of working set files.
623- * @return {?string } - the scope to which the preference is to be migrated
624- */
625- function _checkPreferencePrefix ( key ) {
626- var pathPrefix = "files_" ;
627- if ( key . indexOf ( pathPrefix ) === 0 ) {
628- // Get the project path from the old preference key by stripping "files_".
629- var projectPath = key . substr ( pathPrefix . length ) ;
630- return "user project.files " + projectPath ;
631- }
632-
633- return null ;
634- }
635-
636-
637615 // Set up event dispatch
638616 EventDispatcher . makeEventDispatcher ( exports ) ;
639617
@@ -672,9 +650,6 @@ define(function (require, exports, module) {
672650 _proxyDeprecatedEvent ( "workingSetSort" ) ;
673651 } ) ;
674652
675-
676- PreferencesManager . convertPreferences ( module , { "files_" : "user" } , true , _checkPreferencePrefix ) ;
677-
678653 // Handle file saves that may affect preferences
679654 exports . on ( "documentSaved" , function ( e , doc ) {
680655 PreferencesManager . fileChanged ( doc . file . fullPath ) ;
0 commit comments