Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f1f329b1
Commit
f1f329b1
authored
May 29, 2013
by
Nathaniel Catchpole
Browse files
Issue
#2002398
by web.dev.cas: Rename Views method cache_flush() to cacheFlush().
parent
6ec3a9ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
View file @
f1f329b1
...
...
@@ -180,7 +180,7 @@ function cache_get($type) {
* We're just going to nuke anything related to the view, regardless of display,
* to be sure that we catch everything. Maybe that's a bad idea.
*/
function
cache
_f
lush
()
{
public
function
cache
F
lush
()
{
cache
(
$this
->
table
)
->
deleteTags
(
array
(
$this
->
view
->
storage
->
id
()
=>
TRUE
));
}
...
...
core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
View file @
f1f329b1
...
...
@@ -2146,7 +2146,7 @@ public function submitOptionsForm(&$form, &$form_state) {
// Not sure I like this being here, but it seems (?) like a logical place.
$cache_plugin = $this->getPlugin('cache');
if ($cache_plugin) {
$cache_plugin
->
cache
_f
lush
();
$cache_plugin->cache
F
lush();
}
$section = $form_state['section'];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment