Ignore:
Timestamp:
Dec 13, 2005, 2:58:50 PM (15 years ago)
Author:
matt
Message:

Removed the functions print_available_ports until
we get this working in a better fashion way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/ru/includes/functions.inc

    r15457 r15479  
    11<?php
    22
    3 # $Id: functions.inc,v 1.2 2005/12/12 18:56:59 matt Exp $
     3# $Id: functions.inc,v 1.3 2005/12/13 14:58:50 matt Exp $
    44# Copyright (c) 2003, OpenDarwin
    55
     
    254254}
    255255
    256 ######################################################################
    257 
    258 # print the number or available ports
    259 function print_available_ports() {
    260         global $connect;
    261        
    262         $result = mysql_query("SELECT count(*) from darwinports.portfiles");
    263         if ($result) {
    264                 $row = mysql_fetch_array($result);
    265                 $count = $row[0];
    266                 echo $count;
    267         } else {
    268                 $count = 0;
    269         }
    270 }
    271 
    272256?>
Note: See TracChangeset for help on using the changeset viewer.