mailer project continued:
[mailer.git] / inc / modules / admin / what-repair_refs.php
index fd567dd7d1676fa7e19f23ac451a02ab92aa186b..68f087d37083b3b8f3db9754c6588f107899955d 100644 (file)
@@ -6,9 +6,9 @@
  * -------------------------------------------------------------------- *
  * File              : what-repair_refs.php                             *
  * -------------------------------------------------------------------- *
- * Short description : "Repairs" the referal system                     *
+ * Short description : "Repairs" the referral system                    *
  * -------------------------------------------------------------------- *
- * Kurzbeschreibung  : "Repariert" das Referal-System                   *
+ * Kurzbeschreibung  : "Repariert" das Referral-System                  *
  * -------------------------------------------------------------------- *
  * $Revision::                                                        $ *
  * $Date::                                                            $ *
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -43,11 +43,18 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 // Add description as navigation point
 addYouAreHereLink('admin', __FILE__);
 
+// Extension ext-user must be at least v0.4.4
+if (isExtensionInstalledAndOlder('user', '0.4.4')) {
+       // Display outdated-message and exit
+       displayMessage(generateExtensionOutdatedMessage('user', '0.4.4'));
+       return;
+} // END - if
+
 // Just include fix_refsystem.php again
 loadIncludeOnce('inc/fix_refsystem.php');
 
 // Output message
-displayMessage('{--ADMIN_REPAIR_REFERAL_SYSTEM_DONE--}');
+displayMessage('{--ADMIN_REPAIR_REFERRAL_SYSTEM_DONE--}');
 
 // [EOF]
 ?>