moving localfiles to tmp
authorJoshua Ferraro <jmf@liblime.com>
Sun, 21 Oct 2007 20:11:35 +0000 (15:11 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 22 Oct 2007 00:14:28 +0000 (19:14 -0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/AuthoritiesMarc.pm
localfile/modified_authorities/DO_NOT_REMOVE [deleted file]
tmp/modified_authorities/DO_NOT_REMOVE [new file with mode: 0644]

index 506dc38..caece1e 100644 (file)
@@ -564,13 +564,13 @@ sub ModAuthority {
 ### they should have a system preference "dontmerge=1" otherwise by default biblios will be updated
 ### the $merge flag is now depreceated and will be removed at code cleaning
   if (C4::Context->preference('dontmerge') ){
-  # save the file in localfile/modified_authorities
+  # save the file in tmp/modified_authorities
       my $cgidir = C4::Context->intranetdir ."/cgi-bin";
       unless (opendir(DIR,"$cgidir")) {
               $cgidir = C4::Context->intranetdir."/";
       }
   
-      my $filename = $cgidir."/localfile/modified_authorities/$authid.authid";
+      my $filename = $cgidir."/tmp/modified_authorities/$authid.authid";
       open AUTH, "> $filename";
       print AUTH $authid;
       close AUTH;
diff --git a/localfile/modified_authorities/DO_NOT_REMOVE b/localfile/modified_authorities/DO_NOT_REMOVE
deleted file mode 100644 (file)
index 8a0b851..0000000
+++ /dev/null
@@ -1 +0,0 @@
-do not remove this file, used to avoid cvs deleting this directory
diff --git a/tmp/modified_authorities/DO_NOT_REMOVE b/tmp/modified_authorities/DO_NOT_REMOVE
new file mode 100644 (file)
index 0000000..8a0b851
--- /dev/null
@@ -0,0 +1 @@
+do not remove this file, used to avoid cvs deleting this directory