Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
package-bricks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QUIQQER
package-bricks
Commits
186da628
Commit
186da628
authored
Oct 09, 2019
by
Henning Leutz
🥋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: project cache clearing at brick saving
parent
a05c38d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
src/QUI/Bricks/Manager.php
src/QUI/Bricks/Manager.php
+9
-1
No files found.
src/QUI/Bricks/Manager.php
View file @
186da628
...
...
@@ -922,7 +922,7 @@ class Manager
unset
(
$attributes
[
'attributes'
]);
}
if
(
!
is_array
(
$customFieldsUniqueBrick
))
{
if
(
!
\
is_array
(
$customFieldsUniqueBrick
))
{
$customFieldsUniqueBrick
=
[];
}
...
...
@@ -933,6 +933,14 @@ class Manager
'uid'
=>
$uniqueBrick
[
'uid'
]
]);
}
// clear project cache
$cache
=
Project
::
getProjectLanguageCachePath
(
$Project
->
getName
(),
$Project
->
getLang
()
);
QUI\Cache\Manager
::
clear
(
$cache
);
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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