apc_drush_flush() uses a single parameter, an array with two values. The code would be much simpler if it used two parameters, the last of which has array() as default value.

This requires changing also the code used for apc_xmlrpc().

Since apc_drush_flush() is changed, I would also rename it to apc_clear_cache() and change its method name to apc.clear_cache.

Issue fork apc-3462024

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

apaderno created an issue. See original summary.

avpaderno’s picture

Issue summary: View changes
avpaderno’s picture

Issue summary: View changes
avpaderno’s picture

Title: apc_xmlrpc() does not return the correct XMLRPC method definition » apc_xmlrpc() does not return the correct XML-RPC method definition
avpaderno’s picture

Title: apc_xmlrpc() does not return the correct XML-RPC method definition » Change apc_drush_flush() to use two parameters instead of one
Category: Bug report » Task
Issue summary: View changes
Priority: Normal » Minor

avpaderno’s picture

Status: Active » Needs review

  • apaderno committed 888e87f4 on 7.x-1.x
    Issue #3462024: Change apc_drush_flush() to use two parameters instead...
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.