mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 18:55:11 +01:00
Revert "Fix no auto login permission (Fixes #118)" Wrong repo
This reverts commit 6d60e72296
.
This commit is contained in:
parent
6d60e72296
commit
7ff5801cfe
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user