Permalink
Browse files

Fix legacy client issues.

During some coding portion, I added a property return argument to the getClass method. This
would prevent some class item callers from performing their relevant data as the args passed
were intended to be arguments to the class being called itself.
  • Loading branch information...
mastacontrola committed Jan 19, 2017
1 parent 3fe54ce commit 06636dcc7e0778e0448b0de0fc2153bc75b9717a
@@ -53,7 +53,7 @@ private static function _versionCompare()
public function __construct()
{
self::_versionCompare();
define('FOG_VERSION', '6323');
define('FOG_VERSION', '358');
define('FOG_SCHEMA', 246);
define('FOG_BCACHE_VER', 112);
define('FOG_SVN_REVISION', 6063);
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-01-18 17:57-0500\n"
"POT-Creation-Date: 2017-01-18 20:08-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'PrinterClient',
new PrinterClient(
true,
false,
false,
@@ -22,8 +22,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'ALOBG',
new ALOBG(
true,
false,
false,
@@ -20,4 +20,4 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass('Registration');
new Registration();
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'Autologout',
new Autologout(
true,
false,
false,
@@ -20,4 +20,4 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass('Blame');
new Blame();
@@ -20,4 +20,4 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass('CaponeTasking');
new CaponeTasking();
@@ -22,8 +22,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'DirectoryCleanup',
new DirectoryCleanup(
true,
false,
false,
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'DisplayManager',
new DisplayManager(
true,
false,
false,
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'GF',
new GF(
true,
false,
false,
@@ -22,8 +22,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'HostnameChanger',
new HostnameChanger(
true,
false,
false,
@@ -32,4 +32,4 @@
$mac = array_values($mac);
$_REQUEST['mac'] = implode('|', (array)$mac);
$Host = FOGCore::getHostItem(false, false, true);
FOGCore::getClass('BootMenu', $Host);
new BootMenu($Host);
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'Jobs',
new Jobs(
true,
false,
false,
@@ -20,7 +20,6 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'Registration',
new Registration(
true
);
@@ -24,8 +24,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'RegisterClient',
new RegisterClient(
true,
false,
isset($_REQUEST['newService']),
@@ -22,8 +22,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'ServiceModule',
new ServiceModule(
true,
false,
false,
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'SnapinClient',
new SnapinClient(
true,
false,
false,
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'SnapinClient',
new SnapinClient(
true,
false,
false,
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'UpdateClient',
new UpdateClient(
true,
false,
false,
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'UserCleaner',
new UserCleaner(
true,
false,
false,
@@ -20,8 +20,7 @@
* @link https://fogproject.org
*/
require '../commons/base.inc.php';
FOGCore::getClass(
'UserTrack',
new UserTrack(
true,
!isset($_REQUEST['newService'])
);

0 comments on commit 06636dc

Please sign in to comment.