Skip to content

Commit

Permalink
Remove the FOF Library
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Aug 23, 2017
1 parent bfd5bf2 commit fbbb837
Show file tree
Hide file tree
Showing 207 changed files with 0 additions and 75,800 deletions.
20 changes: 0 additions & 20 deletions administrator/components/com_admin/script.php
Expand Up @@ -86,7 +86,6 @@ public function update($installer)
$this->deleteUnexistingFiles();
$this->updateManifestCaches();
$this->updateDatabase();
$this->clearRadCache();
$this->updateAssets($installer);
$this->clearStatsCache();
$this->convertTablesToUtf8mb4(true);
Expand Down Expand Up @@ -306,25 +305,6 @@ public function deleteUnexistingFiles()
}
}

/**
* Clears the RAD layer's table cache.
*
* The cache vastly improves performance but needs to be cleared every time you update the database schema.
*
* @return void
*
* @since 3.2
*/
protected function clearRadCache()
{
jimport('joomla.filesystem.file');

if (JFile::exists(JPATH_ROOT . '/cache/fof/cache.php'))
{
JFile::delete(JPATH_ROOT . '/cache/fof/cache.php');
}
}

/**
* Method to create assets for newly installed components
*
Expand Down
49 changes: 0 additions & 49 deletions administrator/manifests/libraries/fof.xml

This file was deleted.

1 change: 0 additions & 1 deletion build/bump.php
Expand Up @@ -67,7 +67,6 @@ function usage($command)
'/libraries/php-encryption/',
'/libraries/phpass/',
'/libraries/idna_convert/',
'/libraries/fof/',
);

$directoryLoopExcludeFiles = array(
Expand Down
1 change: 0 additions & 1 deletion build/phpcs/Joomla/ruleset.xml
Expand Up @@ -11,7 +11,6 @@

<!-- Exclude 3rd party libraries and Framework code. -->
<exclude-pattern type="relative">libraries/compat/password/*</exclude-pattern>
<exclude-pattern type="relative">libraries/fof/*</exclude-pattern>
<exclude-pattern type="relative">libraries/idna_convert/*</exclude-pattern>
<exclude-pattern type="relative">libraries/php-encryption/*</exclude-pattern>
<exclude-pattern type="relative">libraries/simplepie/*</exclude-pattern>
Expand Down
1 change: 0 additions & 1 deletion installation/sql/mysql/joomla.sql
Expand Up @@ -519,7 +519,6 @@ INSERT INTO `#__extensions` (`extension_id`, `package_id`, `name`, `type`, `elem
(34, 0, 'com_associations', 'component', 'com_associations', '', 1, 1, 1, 0, '', '', 0, '0000-00-00 00:00:00', 0, 0, ''),
(103, 0, 'Joomla! Platform', 'library', 'joomla', '', 0, 1, 1, 1, '', '', 0, '0000-00-00 00:00:00', 0, 0, ''),
(104, 0, 'IDNA Convert', 'library', 'idna_convert', '', 0, 1, 1, 1, '', '', 0, '0000-00-00 00:00:00', 0, 0, ''),
(105, 0, 'FOF', 'library', 'fof', '', 0, 1, 1, 1, '', '', 0, '0000-00-00 00:00:00', 0, 0, ''),
(106, 0, 'PHPass', 'library', 'phpass', '', 0, 1, 1, 1, '', '', 0, '0000-00-00 00:00:00', 0, 0, ''),
(200, 0, 'mod_articles_archive', 'module', 'mod_articles_archive', '', 0, 1, 1, 0, '', '', 0, '0000-00-00 00:00:00', 0, 0, ''),
(201, 0, 'mod_articles_latest', 'module', 'mod_articles_latest', '', 0, 1, 1, 0, '', '', 0, '0000-00-00 00:00:00', 0, 0, ''),
Expand Down
1 change: 0 additions & 1 deletion installation/sql/postgresql/joomla.sql
Expand Up @@ -529,7 +529,6 @@ INSERT INTO "#__extensions" ("extension_id", "package_id", "name", "type", "elem
(102, 0, 'phputf8', 'library', 'phputf8', '', 0, 1, 1, 1, '', '', 0, '1970-01-01 00:00:00', 0, 0),
(103, 0, 'Joomla! Platform', 'library', 'joomla', '', 0, 1, 1, 1, '', '', 0, '1970-01-01 00:00:00', 0, 0),
(104, 0, 'IDNA Convert', 'library', 'idna_convert', '', 0, 1, 1, 1, '', '', 0, '1970-01-01 00:00:00', 0, 0),
(105, 0, 'FOF', 'library', 'fof', '', 0, 1, 1, 1, '', '', 0, '1970-01-01 00:00:00', 0, 0),
(106, 0, 'PHPass', 'library', 'phpass', '', 0, 1, 1, 1, '', '', 0, '1970-01-01 00:00:00', 0, 0),
(200, 0, 'mod_articles_archive', 'module', 'mod_articles_archive', '', 0, 1, 1, 0, '', '', 0, '1970-01-01 00:00:00', 0, 0),
(201, 0, 'mod_articles_latest', 'module', 'mod_articles_latest', '', 0, 1, 1, 0, '', '', 0, '1970-01-01 00:00:00', 0, 0),
Expand Down
8 changes: 0 additions & 8 deletions language/en-GB/en-GB.lib_fof.ini

This file was deleted.

6 changes: 0 additions & 6 deletions language/en-GB/en-GB.lib_fof.sys.ini

This file was deleted.

6 changes: 0 additions & 6 deletions libraries/bootstrap.php
Expand Up @@ -55,12 +55,6 @@
// Register the class aliases for Framework classes that have replaced their Platform equivilents
require_once JPATH_LIBRARIES . '/classmap.php';

// Ensure FOF autoloader included - needed for things like content versioning where we need to get an FOFTable Instance
if (!class_exists('FOFAutoloaderFof'))
{
include_once JPATH_LIBRARIES . '/fof/include.php';
}

// Register the global exception handler.
set_exception_handler(['JErrorPage', 'render']);

Expand Down
6 changes: 0 additions & 6 deletions libraries/cms.php
Expand Up @@ -48,12 +48,6 @@
// Register the class aliases for Framework classes that have replaced their Platform equivilents
require_once JPATH_LIBRARIES . '/classmap.php';

// Ensure FOF autoloader included - needed for things like content versioning where we need to get an FOFTable Instance
if (!class_exists('FOFAutoloaderFof'))
{
include_once JPATH_LIBRARIES . '/fof/include.php';
}

// Register a handler for uncaught exceptions that shows a pretty error page when possible
set_exception_handler(array('JErrorPage', 'render'));

Expand Down
1 change: 0 additions & 1 deletion libraries/cms/extension/helper.php
Expand Up @@ -73,7 +73,6 @@ class JExtensionHelper
array('language', 'en-GB', '', 0),

// Core library extensions
array('library', 'fof', '', 0),
array('library', 'idna_convert', '', 0),
array('library', 'joomla', '', 0),
array('library', 'phpass', '', 0),
Expand Down

0 comments on commit fbbb837

Please sign in to comment.