Bug 7656 - "undefined" pop-up message when putting hold on reference item
[koha.git] / C4 / Cache.pm
index 6d55b25..151a3fa 100644 (file)
@@ -13,28 +13,31 @@ package C4::Cache;
 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
 #
-# You should have received a copy of the GNU General Public License along with
-# Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
-# Suite 330, Boston, MA  02111-1307 USA
+# You should have received a copy of the GNU General Public License along
+# with Koha; if not, write to the Free Software Foundation, Inc.,
+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
 =head1 NAME
 
-    C4::Cache - Handling caching of html and Objects for Koha
+C4::Cache - Handling caching of html and Objects for Koha
 
 =head1 SYNOPSIS
 
   use C4::Cache (cache_type => $cache_type, %params );
 
-
 =head1 DESCRIPTION
 
-  Base class for C4::Cache::X. Subclasses need to provide the following methods
+Base class for C4::Cache::X. Subclasses need to provide the following methods
+
+B<_cache_handle ($params_hr)> - cache handle creator
+
+B<set_in_cache ($key, $value, $expiry)>
 
-  B<_cache_handle  ($params_hr)> - cache handle creator                         
-  B<set_in_cache   ($key, $value, $expiry)>                                     
-  B<get_from_cache ($key)>                                                      
-  B<clear_from_cache ($key)>                                                    
-  B<flush_all      ()>  
+B<get_from_cache ($key)>
+
+B<clear_from_cache ($key)>
+
+B<flush_all ()>
 
 =head1 FUNCTIONS
 
@@ -47,7 +50,6 @@ use Carp;
 use base qw(Class::Accessor);
 
 use C4::Cache::Memcached;
-use C4::Cache::FastMemcached;
 
 __PACKAGE__->mk_ro_accessors( qw( cache ) );
 
@@ -64,11 +66,11 @@ sub new {
 
 =head2 EXPORT
 
-  None by default.
+None by default.
 
 =head1 SEE ALSO
-  
-  C4::Cache::Memcached
+
+C4::Cache::Memcached
 
 =head1 AUTHOR