repo.or.cz
/
phabricator.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Generate file attachment transactions for explicit Remarkup attachments on common...
[phabricator.git]
/
src
/
applications
/
cache
/
purger
/
PhabricatorUserCachePurger.php
blob
64f631c96b3902bffe355c23645593ec1e51750e
1
<
?php
2
3
final class
PhabricatorUserCachePurger
4
extends
PhabricatorCachePurger
{
5
6
const
PURGERKEY
=
'user'
;
7
8
public function
purgeCache
() {
9
$table
=
new
PhabricatorUserCache
();
10
$conn
=
$table
->
establishConnection
(
'w'
);
11
12
queryfx
(
13
$conn
,
14
'TRUNCATE TABLE
%T
'
,
15
$table
->
getTableName
());
16
}
17
18
}