[Asterisk-cvs] astcc astcc-admin.cgi,1.13,1.14

kpfleming at lists.digium.com kpfleming at lists.digium.com
Tue Apr 26 22:28:19 CDT 2005


Update of /usr/cvsroot/astcc
In directory mongoose.digium.com:/tmp/cvs-serv27081

Modified Files:
	astcc-admin.cgi 
Log Message:
correct syntax and logic errors (bug #4079, with mods)


Index: astcc-admin.cgi
===================================================================
RCS file: /usr/cvsroot/astcc/astcc-admin.cgi,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- astcc-admin.cgi	1 Mar 2005 06:38:22 -0000	1.13
+++ astcc-admin.cgi	27 Apr 2005 03:18:09 -0000	1.14
@@ -95,7 +95,7 @@
 }
 
 sub users_update_db() {
-	return -1 unless $dbh->do("CREATE TABLE cdrs (cardnum CHAR(40), callerid char(80), callednum CHAR(80), trunk CHAR(40), disposition CHAR(20), billseconds INTEGER, billcost INTEGER callstart CHAR(24))");
+       return -1 unless $dbh->do("ALTER TABLE cdrs ADD COLUMN callstart CHAR(24)");
 	return 0;
 }	
 




More information about the svn-commits mailing list