Revision 9900
Added by Jing Tao over 7 years ago
EZIDAdmin.java | ||
---|---|---|
215 | 215 |
PropertyService.setPropertyNoPersist("guid.ezid.doishoulder.1", doishoulder); |
216 | 216 |
// persist them all |
217 | 217 |
PropertyService.persistProperties(); |
218 |
PropertyService.syncToSettings(); |
|
218 | 219 |
// save a backup in case the form has errors, we reload from these |
219 | 220 |
PropertyService.persistMainBackupProperties(); |
220 | 221 |
} |
Also available in: Unified diff
Every time when we modified the metacat.properties file through the PropertyService, the Setting class will be updated as well. Otherwise, the values on the Setting class are still the old one.