Obsolete code

0 views
Skip to first unread message

Roccivic

unread,
Apr 15, 2011, 7:37:56 PM4/15/11
to Geeklog Forum
Looking at the below lines from functions.inc, I'm tempted to remove
them, since the minimum version of Geeklog that we require now is
1.6.0. But the question is: Was the problem really fixed in 1.4.1?
Anyone?

// Need to add this line because PLG_enableStateChange does an include
of this file inside a plugin function and $_TABLES is not global.
// This will be fixed in GL 1.4.1 Final
$_TABLES['plugins'] = $_DB_table_prefix . 'plugins';

Tom

unread,
Apr 16, 2011, 2:38:37 PM4/16/11
to Geeklog Forum
That was before my time in developing for Geeklog, you could ask Dirk?

Or, why don't you take out the code and add a simply echo command in
the forums enableStateChange. If it returns a table name then you know
it was fixed.

The Tables array needs to be looking at again. I had a problem a
little while ago with it:

http://project.geeklog.net/tracking/view.php?id=1233

and for some reason the core plugins store their tablenames in lib-
database.php

Tom
Reply all
Reply to author
Forward
0 new messages