File tree 1 file changed +0
-24
lines changed
1 file changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -703,29 +703,6 @@ private function _purge_homepage() {
703
703
704
704
}
705
705
706
- /**
707
- * Purge personal urls.
708
- *
709
- * @return bool
710
- */
711
- private function _purge_personal_urls () {
712
-
713
- global $ nginx_helper_admin ;
714
-
715
- $ this ->log ( __ ( 'Purging personal urls ' , 'nginx-helper ' ) );
716
-
717
- if ( isset ( $ nginx_helper_admin ->options ['purgeable_url ' ]['urls ' ] ) ) {
718
-
719
- foreach ( $ nginx_helper_admin ->options ['purgeable_url ' ]['urls ' ] as $ url ) {
720
- $ this ->purge_url ( $ url , false );
721
- }
722
- } else {
723
- $ this ->log ( '- ' . __ ( 'No personal urls available ' , 'nginx-helper ' ) );
724
- }
725
-
726
- return true ;
727
-
728
- }
729
706
730
707
/**
731
708
* Purge post categories.
@@ -1140,7 +1117,6 @@ public function purge_them_all() {
1140
1117
1141
1118
$ this ->log ( __ ( "Let's purge everything! " , 'nginx-helper ' ) );
1142
1119
$ this ->_purge_homepage ();
1143
- $ this ->_purge_personal_urls ();
1144
1120
$ this ->_purge_all_posts ();
1145
1121
$ this ->_purge_all_taxonomies ();
1146
1122
$ this ->_purge_all_date_archives ();
You can’t perform that action at this time.
0 commit comments