aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-03-27 07:33:10 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-03-27 07:33:10 +0200
commitc12906d4181a185db6de00e4a1dc11897a1d4718 (patch)
tree8a2d95c2b7e8db8c91d9780fe0b87590e2db4a87
parente48b75e0a9725b173c8fec5dabaab865669fa127 (diff)
downloadphorkie-c12906d4181a185db6de00e4a1dc11897a1d4718.tar.gz
phorkie-c12906d4181a185db6de00e4a1dc11897a1d4718.zip
remove dead code
-rw-r--r--www/display.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/www/display.php b/www/display.php
index b6b7d7f..f806c56 100644
--- a/www/display.php
+++ b/www/display.php
@@ -8,30 +8,10 @@ require_once 'www-header.php';
$repo = new Repository();
$repo->loadFromRequest();
-/*
-$tplFiles = array();
-foreach ($files as $file) {
- $tplFile = array();
- $tplFile['filename'] = basename($file);
- $tplFile['type'] = get_type_from_file($file);
- //FIXME: highlight
- $tplFile['content'] = file_get_contents($file);
- $tplFile['raw'] = '/' . $id . '/raw/' . $tplFile['filename'];
- $tplFiles[] = $tplFile;
-}
-*/
-
render(
'display',
array(
'repo' => $repo,
- /*
- 'description' => file_get_contents($repoDir . '/.git/description'),
- 'files' => $tplFiles,
- 'links' => array(
- 'edit' => '/' . $id . '/edit'
- )
- */
)
);
?>