[yast-commit] r60459 - in /branches/SuSE-Code-11-SP1-Branch/network/src: lan/complex.ycp modules/Lan.ycp
Author: kmachalkova Date: Wed Jan 20 14:33:02 2010 New Revision: 60459 URL: http://svn.opensuse.org/viewcvs/yast?rev=60459&view=rev Log: Moved an useful func to more appropriate place Modified: branches/SuSE-Code-11-SP1-Branch/network/src/lan/complex.ycp branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp Modified: branches/SuSE-Code-11-SP1-Branch/network/src/lan/complex.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/network/src/lan/complex.ycp?rev=60459&r1=60458&r2=60459&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/network/src/lan/complex.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/network/src/lan/complex.ycp Wed Jan 20 14:33:02 2010 @@ -38,16 +38,6 @@ /** - * Return a modification status - * @return true if data was modified - */ -define boolean Modified() ``{ - boolean ret = LanItems::Modified() || DNS::modified || Routing::Modified() || - NetworkConfig::Modified(); - return ret; -} - -/** * Commit changes to internal structures * @return always `next */ Modified: branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp?rev=60459&r1=60458&r2=60459&view=diff ============================================================================== --- branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp (original) +++ branches/SuSE-Code-11-SP1-Branch/network/src/modules/Lan.ycp Wed Jan 20 14:33:02 2010 @@ -105,14 +105,21 @@ // FIXME: MOD list<string> DeletedModules = []; -// FIXME: used in lan/address.ycp (#17346) -> "global" - +/** + * Return a modification status + * @return true if data was modified + */ +boolean Modified() { + boolean ret = LanItems::Modified() || DNS::modified || Routing::Modified() || + NetworkConfig::Modified(); + return ret; +} +// FIXME: used in lan/address.ycp (#17346) -> "global" /*------------------*/ /* GLOBAL FUNCTIONS */ - // function for use from autoinstallation (Fate #301032) global define boolean isAnyInterfaceDown(){ boolean down = false; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
kmachalkova@svn.opensuse.org