From 41fb483ad8ebb9aa57a827d2c37d47ce096442f4 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 8 Sep 2010 17:02:50 +0000 Subject: Correct typo in file name. Also do not delete users just expire them. --- etc/rc.exipireaccounts | 65 -------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100755 etc/rc.exipireaccounts (limited to 'etc/rc.exipireaccounts') diff --git a/etc/rc.exipireaccounts b/etc/rc.exipireaccounts deleted file mode 100755 index 7aa9fe5..0000000 --- a/etc/rc.exipireaccounts +++ /dev/null @@ -1,65 +0,0 @@ -#!/usr/local/bin/php -f - strtotime($user['expires'])) { - echo "removing user {$user['name']} at index #{$index}\n"; - unset($config['system']['user'][$index]); - $removed++; - $count--; - $index--; - } - } - - if($removed > 0) - write_config("Expired {$removed} user accounts"); - - //print_r($config); - -?> -- cgit v1.1