Revert "Fix no auto login permission (Fixes #118)" Wrong repo

This reverts commit 6d60e72296.
This commit is contained in:
games647 2018-03-15 20:43:50 +01:00
parent 6d60e72296
commit 7ff5801cfe
No known key found for this signature in database
GPG Key ID: BFC68C8708713A88

View File

@ -1,8 +1,6 @@
package fr.xephi.authme.util;
import com.google.common.io.Files;
import com.google.common.io.MoreFiles;
import fr.xephi.authme.AuthMe;
import fr.xephi.authme.ConsoleLogger;
@ -164,8 +162,6 @@ public final class FileUtils {
* @return path to a file suitably named for storing a backup
*/
public static String createBackupFilePath(File file) {
MoreFiles.getNameWithoutExtension(file.toPath());
String filename = "backup_" + Files.getNameWithoutExtension(file.getName())
+ "_" + createCurrentTimeString()
+ "." + Files.getFileExtension(file.getName());