cleanup junk; use tabs

This commit is contained in:
Elan Ruusamäe 2012-09-18 09:56:04 +02:00
parent e3e93b885a
commit 1eb023b9ca

View file

@ -1,7 +1,7 @@
#!/usr/bin/php
<?php
# -*- coding: utf-8 -*-
# Setup VIM: ex: et ts=2 sw=2 :
# Setup VIM: ex: noet ts=2 sw=2 :
#
# PHP side Bridge of accessing DokuWiki functions from Python.
# See README for details.
@ -22,8 +22,6 @@ function strip_dir($dir, $fn) {
return end(explode($dir.'/', $fn, 2));
}
$fn = $conf['mediadir'].'/'.utf8_encodeFN($id);
switch ($argv[1]) {
case 'cleanID':
echo cleanID($argv[2]);