deleted file object-cache.php

This commit is contained in:
2023-12-08 23:24:46 +00:00
committed by Gitium
parent 68d0f8ee2d
commit 50cc9dca5b
2840 changed files with 0 additions and 358705 deletions

View File

@ -1,28 +0,0 @@
<?php
namespace W3TC;
class Extensions_AdminActions {
function w3tc_extensions_activate() {
$config = Dispatcher::config();
$extension = Util_Request::get_string( 'w3tc_extensions_activate' );
$ext = Extensions_Util::get_extension( $config, $extension );
if ( !is_null( $ext ) ) {
if ( Extensions_Util::activate_extension( $extension, $config ) ) {
Util_Admin::redirect_with_custom_messages2( array(
'notes' => array( sprintf(
__( 'Extension <strong>%s</strong> has been successfully activated.',
'w3-total-cache' ),
$ext['name']
) )
) );
return;
}
}
Util_Admin::redirect( array() );
}
}