Project

General

Profile

« Previous | Next » 

Revision b704b6ef

Added by Renato Botelho over 4 years ago

Add a warning when write_config() is called without description

View differences:

src/etc/inc/config.lib.inc
521 521
		backup_config();
522 522
	}
523 523

  
524
	if ($desc == "Unknown") {
525
		file_notice("config.xml", gettext(
526
		    'WARNING: write_config() was called without description'));
527
	}
524 528
	$config['revision'] = make_config_revision_entry($desc);
525 529

  
526 530
	$lockkey = lock('config', LOCK_EX);

Also available in: Unified diff