com web/doc: Unused libs removal: include/lib_cache.inc.p hp include/lib_meta_info.inc.php

[email protected]
Newsgroups php.doc.web
Message-ID <[email protected]>
Commit:    c4fdff107a76936d4456c94fbba29ea5067c3b98
Author:    Sobak <[email protected]>         Sat, 29 Mar 2014 06:59:03 +0100
Parents:   c017cba7c89b73930debf0c8b57df13cfd55d496
Branches:  master

Link:       http://git.php.net/?p=web/doc.git;a=commitdiff;h=c4fdff107a76936d4456c94fbba29ea5067c3b98

Log:
Unused libs removal

Changed paths:
  D  include/lib_cache.inc.php
  D  include/lib_meta_info.inc.php


Diff:
diff --git a/include/lib_cache.inc.php b/include/lib_cache.inc.php
deleted file mode 100644
index 4bd2151..0000000
--- a/include/lib_cache.inc.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-+----------------------------------------------------------------------+
-| PHP Documentation Tools Site Source Code                             |
-+----------------------------------------------------------------------+
-| Copyright (c) 1997-2011 The PHP Group                                |
-+----------------------------------------------------------------------+
-| This source file is subject to version 3.0 of the PHP license,       |
-| that is bundled with this package in the file LICENSE, and is        |
-| available through the world-wide-web at the following url:           |
-| http://www.php.net/license/3_0.txt.                                  |
-| If you did not receive a copy of the PHP license and are unable to   |
-| obtain it through the world-wide-web, please send a note to          |
-| [email protected] so we can mail you a copy immediately.               |
-+----------------------------------------------------------------------+
-| Authors:          Mehdi Achour <[email protected]>                       |
-+----------------------------------------------------------------------+
-$Id$
-*/
-
-define('CACHE_DIR', PATH_ROOT . '/cache/');
-define('CACHE_EXT', '.cache');
-
-function is_cached($file) 
-{
-    return file_exists(CACHE_DIR . $file . CACHE_EXT);
-}
-
-?>
diff --git a/include/lib_meta_info.inc.php b/include/lib_meta_info.inc.php
deleted file mode 100644
index d228de6..0000000
--- a/include/lib_meta_info.inc.php
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4:
-+----------------------------------------------------------------------+
-| PHP Documentation Tools Site Source Code                             |
-+----------------------------------------------------------------------+
-| Copyright (c) 1997-2011 The PHP Group                                |
-+----------------------------------------------------------------------+
-| This source file is subject to version 3.0 of the PHP license,       |
-| that is bundled with this package in the file LICENSE, and is        |
-| available through the world-wide-web at the following url:           |
-| http://www.php.net/license/3_0.txt.                                  |
-| If you did not receive a copy of the PHP license and are unable to   |
-| obtain it through the world-wide-web, please send a note to          |
-| [email protected] so we can mail you a copy immediately.               |
-+----------------------------------------------------------------------+
-| Authors:     Dave Barr <[email protected]>                                |
-| DocWeb port: Sean Coates <[email protected]>                              |
-+----------------------------------------------------------------------+
-$Id$
-*/
-
-/**
- * Finds aliases in the passed file
- *
- * @param string $filename filename to parse
- * @param string $ext      extension to which this file belongs
- *
- */
-function find_alias_file($filename, $ext)
-{
-    global $aliases, $total;
-
-    $file = file_get_contents($filename);
-
-    $matchRegex = "/(?:PHP|ZEND)_FALIAS\(\s*(\w+)\s*,\s*(\w+)\s*,/";
-    if (preg_match_all($matchRegex, $file, $matches)) {
-        foreach ($matches[1] as $k => $alias) {
-            $func  = $matches[2][$k];
-
-            if (!(isset($aliases[$ext]) && is_array($aliases[$ext]))) {
-                 $aliases[$ext] = array();
-            }
-
-            $aliases[$ext][$alias] = $func;
-            $total++;
-        }
-    }
-}
- 
-
-?>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.